feat: filter templates by organization (#14254)

This commit is contained in:
Kayla Washburn-Love
2024-08-14 15:01:45 -06:00
committed by GitHub
parent 4fc047954e
commit 8563b372e8
12 changed files with 169 additions and 45 deletions
+5 -5
View File
@@ -7900,11 +7900,11 @@ WHERE
LOWER("name") = LOWER($3)
ELSE true
END
-- Filter by name, matching on substring
AND CASE
WHEN $4 :: text != '' THEN
lower(name) ILIKE '%' || lower($4) || '%'
ELSE true
-- Filter by name, matching on substring
AND CASE
WHEN $4 :: text != '' THEN
lower(name) ILIKE '%' || lower($4) || '%'
ELSE true
END
-- Filter by ids
AND CASE