Skip to content

Commit b3e1c03

Browse files
committed
feat: update tech stack source per bounty
1 parent 53c099c commit b3e1c03

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

lib/algora/bounties/bounties.ex

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -953,13 +953,8 @@ defmodule Algora.Bounties do
953953
)
954954

955955
{:tech_stack, tech_stack}, query ->
956-
from([b, o: o] in query,
957-
where:
958-
fragment(
959-
"EXISTS (SELECT 1 FROM UNNEST(?::citext[]) t1 WHERE t1 = ANY(?::citext[]))",
960-
o.tech_stack,
961-
^tech_stack
962-
)
956+
from([b, r: r] in query,
957+
where: fragment("?::citext = ANY(?::citext[])", r.language, ^tech_stack)
963958
)
964959

965960
{:amount_gt, min_amount}, query ->

0 commit comments

Comments
 (0)