Skip to content

Commit

Permalink
Make it more readable
Browse files Browse the repository at this point in the history
  • Loading branch information
jumasheff committed Aug 27, 2020
1 parent 00ac211 commit afe8bb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion orchestra/project_api/views.py
Expand Up @@ -179,7 +179,7 @@ def get_serializer(self, *args, **kwargs):
def get_queryset(self, ids=None):
queryset = super().get_queryset()
if ids:
return queryset.filter(id__in=ids).order_by('-created_at')
queryset = queryset.filter(id__in=ids)
return queryset.order_by('-created_at')

@action(detail=False, methods=['put'])
Expand Down

0 comments on commit afe8bb5

Please sign in to comment.