aboutsummaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/models/video/sql/videos-id-list-query-builder.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/models/video/sql/videos-id-list-query-builder.ts b/server/models/video/sql/videos-id-list-query-builder.ts
index 76aafb883..098e15359 100644
--- a/server/models/video/sql/videos-id-list-query-builder.ts
+++ b/server/models/video/sql/videos-id-list-query-builder.ts
@@ -545,7 +545,7 @@ export class VideosIdListQueryBuilder extends AbstractRunQuery {
545 ' EXISTS (' + 545 ' EXISTS (' +
546 ' SELECT 1 FROM "videoTag" ' + 546 ' SELECT 1 FROM "videoTag" ' +
547 ' INNER JOIN "tag" ON "tag"."id" = "videoTag"."tagId" ' + 547 ' INNER JOIN "tag" ON "tag"."id" = "videoTag"."tagId" ' +
548 ` WHERE lower("tag"."name") = ${escapedSearch} ` + 548 ` WHERE lower("tag"."name") = lower(${escapedSearch}) ` +
549 ' AND "video"."id" = "videoTag"."videoId"' + 549 ' AND "video"."id" = "videoTag"."videoId"' +
550 ' )' 550 ' )'
551 551