Skip to content

Commit

Permalink
Update views.py
Browse files Browse the repository at this point in the history
  • Loading branch information
alesanchezr authored Jun 21, 2024
1 parent 1b7f6c1 commit f145676
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion breathecode/assessment/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,10 @@ def get(self, request, assessment_slug, threshold_id=None):
lookup['academy__slug'] = param
if 'tag' in self.request.GET:
param = self.request.GET.get('tags')
lookup['tags__icontains'] = param
if param != "all":
lookup['tags__icontains'] = param
else:
lookup['tags__in'] = ["", None]

else:
lookup['academy__isnull'] = True
Expand Down

0 comments on commit f145676

Please sign in to comment.