mirror of https://github.com/Chocobozzz/PeerTube
Case insensitive search on tags
parent
e17358fa33
commit
cd8f207a8e
|
@ -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"' +
|
||||
' )'
|
||||
|
||||
|
|
Loading…
Reference in New Issue