diff --git a/app/dashboard/router.py b/app/dashboard/router.py index 05e3156f580..8dff7b0cb10 100644 --- a/app/dashboard/router.py +++ b/app/dashboard/router.py @@ -370,7 +370,7 @@ def get_queryset(self): # check for key in params and add to querySet via a case-insensitive contains for key in ['raw_data', 'bounty_owner_address', 'bounty_owner_github_username']: if key in param_keys: - queryset = add_param_to_querySet(request_key + '__icontains', queryset, self.request.query_params) + queryset = add_param_to_querySet(key + '__icontains', queryset, self.request.query_params) if 'reserved_for_user_handle' in param_keys: handle = self.request.query_params.get('reserved_for_user_handle', '') diff --git a/app/dashboard/views.py b/app/dashboard/views.py index df7179a9550..95b43cb38b5 100644 --- a/app/dashboard/views.py +++ b/app/dashboard/views.py @@ -2990,11 +2990,6 @@ def get_profile_tab(request, profile, tab, prev_context): } ] - # TODO: REMOVE - is_staff = request.user.is_staff if request.user else False - if not is_staff: - del services[1] - # pass as JSON in the context context['services'] = json.dumps(services) # Tentatively Coming Soon