diff --git a/django_etesync/views.py b/django_etesync/views.py index 1e97b4f..e7a6f87 100644 --- a/django_etesync/views.py +++ b/django_etesync/views.py @@ -175,6 +175,7 @@ class CollectionItemChunkViewSet(viewsets.ViewSet): serializer = self.serializer_class(data=request.data) if serializer.is_valid(): try: + # FIXME: actually generate the correct order value. Or alternatively have it null at first and only set it when ommitting to a snapshot serializer.save(item=col_it, order='abc') except IntegrityError: content = {'code': 'integrity_error'}