Make search queries case insensitive

This commit is contained in:
2022-03-14 19:59:30 +00:00
committed by Gitea
parent 6a71d9643c
commit 87b78e7b67
6 changed files with 6 additions and 6 deletions

View File

@ -122,7 +122,7 @@ SELECT CONCAT(category_groups.name, ' : ', categories.name) as name, categories.
FROM categories
INNER JOIN category_groups ON categories.category_group_id = category_groups.id
WHERE category_groups.budget_id = $1
AND categories.name LIKE $2
AND categories.name ILIKE $2
ORDER BY category_groups.name, categories.name
`