From 70bb47aff8eb9e59a3bb09288413b46eb2286c0d Mon Sep 17 00:00:00 2001 From: Saptak Sengupta Date: Thu, 7 Mar 2019 20:43:49 +0530 Subject: [PATCH] Show open only bounties for featured bounties --- app/dashboard/router.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/dashboard/router.py b/app/dashboard/router.py index f4eb1ecc48f..15880b1872a 100644 --- a/app/dashboard/router.py +++ b/app/dashboard/router.py @@ -255,6 +255,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