Skip to content

Commit

Permalink
Update wafer/talks/views.py
Browse files Browse the repository at this point in the history
Appy feedback from PR

Co-authored-by: Stefano Rivera <[email protected]>
  • Loading branch information
drnlm and stefanor authored Aug 19, 2024
1 parent 4b8f37c commit 4edc96d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions wafer/talks/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,7 @@ def get_context_data(self, **kwargs):
context["languages"] = Talk.LANGUAGES
context["tracks"] = Track.objects.count() > 0
context["see_all"] = Talk.can_view_all(self.request.user)
if self.request.GET.get('sort'):
context['sort'] = self.request.GET.get('sort')
else:
context['sort'] = 'default'
context['sort'] = self.request.GET.get('sort', 'default')
return context


Expand Down

0 comments on commit 4edc96d

Please sign in to comment.