Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/algora/bounties/bounties.ex
Original file line number Diff line number Diff line change
Expand Up @@ -1269,7 +1269,7 @@ defmodule Algora.Bounties do

{:tech_stack, tech_stack}, query ->
from([b, r: r] in query,
where: b.visibility == :exclusive or fragment("? && ?::citext[]", r.tech_stack, ^tech_stack)
where: fragment("? && ?::citext[]", r.tech_stack, ^tech_stack)
)

{:amount_gt, min_amount}, query ->
Expand Down
2 changes: 2 additions & 0 deletions lib/algora_web/live/org/bounties_live.ex
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ defmodule AlgoraWeb.Org.BountiesLive do
</td>
<td class="[&:has([role=checkbox])]:pr-0 p-4 align-middle">
<div class="flex items-center justify-end gap-2">
<%= if @current_user_role in [:admin, :mod] do %>
<.button
phx-click="edit-bounty-amount"
phx-value-id={bounty.id}
Expand All @@ -237,6 +238,7 @@ defmodule AlgoraWeb.Org.BountiesLive do
>
Delete
</.button>
<% end %>
</div>
</td>
</tr>
Expand Down