Skip to content

Commit

Permalink
Merge pull request #749 from podverse/develop
Browse files Browse the repository at this point in the history
Release v4.16.15
  • Loading branch information
mitchdowney authored Apr 27, 2024
2 parents 76d1256 + a43c975 commit 9dbf50a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion src/controllers/mediaRef.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 })
Expand Down

0 comments on commit 9dbf50a

Please sign in to comment.