Skip to content

Commit

Permalink
Merge pull request #3916 from SaptakS/open-featured
Browse files Browse the repository at this point in the history
Show open only bounties for featured bounties
  • Loading branch information
octavioamu authored Mar 7, 2019
2 parents ef43896 + a655431 commit af63fb4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/dashboard/router.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,7 @@ def get_queryset(self):
if 'is_featured' in param_keys:
queryset = queryset.filter(
is_featured=self.request.query_params.get('is_featured'),
is_open=(self.request.query_params.get('is_open').lower() == 'true'),
)

# order
Expand Down

0 comments on commit af63fb4

Please sign in to comment.