From f6ef514661a2aef45a92f368a1ad7296fe65814a Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Wed, 24 Jun 2020 10:58:27 +0300 Subject: [PATCH] Collection members: order by id so order is consistent. --- django_etebase/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django_etebase/views.py b/django_etebase/views.py index bbd4e3e..5f1cbff 100644 --- a/django_etebase/views.py +++ b/django_etebase/views.py @@ -463,7 +463,7 @@ class CollectionMemberViewSet(BaseViewSet): return 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) serializer = self.get_serializer(queryset, many=True)