Fix newest overall sort bug
This commit is contained in:
parent
370cda0dcc
commit
e6d230a04e
|
@ -97,7 +97,6 @@ class SearchViewSet(Base, Retrieve):
|
|||
queryset = queryset.filter(paused_date__isnull=True)
|
||||
queryset = queryset.order_by('-application_date')
|
||||
elif self.action == 'create' and sort == 'newest_overall':
|
||||
queryset = queryset.filter(paused_date__isnull=True)
|
||||
queryset = queryset.order_by('-application_date')
|
||||
elif self.action == 'create' and sort == 'oldest_active':
|
||||
queryset = queryset.filter(paused_date__isnull=True)
|
||||
|
|
Loading…
Reference in New Issue
Block a user