mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-12-01 21:09:17 -06:00
Case insensitive search on tags
This commit is contained in:
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
Block a user