Case insensitive search on tags

pull/4795/head
Chocobozzz 2022-02-03 10:24:48 +01:00
parent e17358fa33
commit cd8f207a8e
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 1 deletions

View File

@ -545,7 +545,7 @@ export class VideosIdListQueryBuilder extends AbstractRunQuery {
' EXISTS (' +
' SELECT 1 FROM "videoTag" ' +
' INNER JOIN "tag" ON "tag"."id" = "videoTag"."tagId" ' +
` WHERE lower("tag"."name") = ${escapedSearch} ` +
` WHERE lower("tag"."name") = lower(${escapedSearch}) ` +
' AND "video"."id" = "videoTag"."videoId"' +
' )'