Collection members: order by id so order is consistent.

master
Tom Hacohen 4 years ago
parent 1bed39af9d
commit f6ef514661

@ -463,7 +463,7 @@ class CollectionMemberViewSet(BaseViewSet):
return None return None
def list(self, request, collection_uid=None): def list(self, request, collection_uid=None):
queryset = self.get_queryset() queryset = self.get_queryset().order_by('id')
queryset, new_stoken, done = self.filter_by_stoken_and_limit(request, queryset) queryset, new_stoken, done = self.filter_by_stoken_and_limit(request, queryset)
serializer = self.get_serializer(queryset, many=True) serializer = self.get_serializer(queryset, many=True)

Loading…
Cancel
Save