1
0
mirror of https://github.com/etesync/server synced 2024-12-28 18:28:07 +00:00

Collection members: order by id so order is consistent.

This commit is contained in:
Tom Hacohen 2020-06-24 10:58:27 +03:00
parent 1bed39af9d
commit f6ef514661

View File

@ -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)