Skip to content

Commit

Permalink
hotfix: Public Barrier Query (#711)
Browse files Browse the repository at this point in the history
* hotfix: Public Barrier Query

---------

Co-authored-by: Asmund Bekker <[email protected]>
  • Loading branch information
abarolo and Asmund Bekker authored Jan 24, 2024
1 parent 6e1cf88 commit 105c2d1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions api/barriers/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -2054,9 +2054,7 @@ def status_filter(self, queryset, name, value):

if "changed" in value:
value.remove("changed")
public_queryset = queryset.filter(
public_barrier__changed_since_published=True
)
public_queryset = queryset.filter(changed_since_published=True)

if "not_yet_sifted" in value:
value.remove("not_yet_sifted")
Expand Down

0 comments on commit 105c2d1

Please sign in to comment.