Skip to content

Commit

Permalink
OKAY I LIED - made problem lookup case insensitive
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonLovesDoggo committed Apr 6, 2024
1 parent 8c530f2 commit 1f6c02a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gameserver/views/problem.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def get_queryset(self):
submission__in=self.request.user.submissions.filter(is_correct=True).all()
)
if self.nfts:
q = q.filter(name__contains=self.nfts)
q = q.filter(name__icontains=self.nfts)
return q

def get(self, request, *args, **kwargs):
Expand Down

0 comments on commit 1f6c02a

Please sign in to comment.