1
0
mirror of https://github.com/etesync/server synced 2024-12-27 09:48:24 +00:00

Collection items: also show deleted items.

This was a mistake. We want deleted items to show because we want to
know when things have been deleted when we ask for updates.
This commit is contained in:
Tom Hacohen 2020-06-18 16:14:55 +03:00
parent ab0d85c84f
commit 2d7b90e848

View File

@ -230,8 +230,7 @@ class CollectionItemViewSet(BaseViewSet):
# XXX Potentially add this for performance: .prefetch_related('revisions__chunks')
queryset = type(self).queryset.filter(collection__pk=collection.pk,
uid__isnull=False,
revisions__current=True,
revisions__deleted=False)
revisions__current=True)
return queryset