From 8c3fd8df4880cf0548c52ad321f324f507a122f3 Mon Sep 17 00:00:00 2001 From: Mitch Downey Date: Sat, 27 Apr 2024 01:29:14 -0500 Subject: [PATCH 1/2] Fix mediaRef query --- src/controllers/mediaRef.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/mediaRef.ts b/src/controllers/mediaRef.ts index c594dc92..64d79758 100644 --- a/src/controllers/mediaRef.ts +++ b/src/controllers/mediaRef.ts @@ -189,7 +189,7 @@ const getMediaRefs = async (query, isFromManticoreSearch?, totalOverride?) => { searchTitle: `%${searchTitle?.toLowerCase().trim()}%` }) - qb.andWhere('"mediaRef"."isOfficialChapter" IS false') + qb.andWhere('"mediaRef"."isOfficialChapter" IS null') if (mediaRefIds?.length) { qb.andWhere('mediaRef.id IN (:...mediaRefIds)', { mediaRefIds }) From a43c97522d1ff1332468592833d2b27b40d9f97f Mon Sep 17 00:00:00 2001 From: Mitch Downey Date: Sat, 27 Apr 2024 01:29:26 -0500 Subject: [PATCH 2/2] Bump to version 4.16.15 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d68df20a..51694f8d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "podverse-api", - "version": "4.16.14", + "version": "4.16.15", "description": "Data API, database migration scripts, and backend services for all Podverse models.", "contributors": [ "Mitch Downey"