Skip to content

Commit

Permalink
Set queryset order for member-exchange endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
mldulaney authored and madprime committed Apr 24, 2019
1 parent eb74ce4 commit 921092d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion private_sharing/api_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def get_queryset(self):
sources_shared = self.get_sources_shared(self.obj)
sources_shared.append(self.obj.project.id_label)
files = all_files.filter(source__in=sources_shared)
return files
return files.order_by("source", "id")

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

0 comments on commit 921092d

Please sign in to comment.