1
0

Route to view user's orgs (#742)

This commit is contained in:
Geometrically
2023-10-30 16:59:53 -07:00
committed by GitHub
parent 6cfd4637db
commit 89f1ddf4d7
7 changed files with 142 additions and 12 deletions

View File

@@ -162,7 +162,7 @@ impl Organization {
"
SELECT o.id, o.title, o.team_id, o.description, o.icon_url, o.color
FROM organizations o
WHERE o.id = ANY($1) OR o.title = ANY($2)
WHERE o.id = ANY($1) OR LOWER(o.title) = ANY($2)
GROUP BY o.id;
",
&organization_ids_parsed,