Skip to content
This repository has been archived by the owner on Aug 24, 2022. It is now read-only.

Commit

Permalink
show all
Browse files Browse the repository at this point in the history
  • Loading branch information
risufaj committed Oct 23, 2018
1 parent c64bbcc commit 828509e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def get_queryset(self,showAll=False):
def list(self, request):
""" Get the list of libraries and samples. """
showAll = False
if request.query_params['showAll'] == 'True':
if request.GET.get('showAll') == 'True':
showAll = True
queryset = self.get_queryset(showAll)

Expand Down

0 comments on commit 828509e

Please sign in to comment.