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:
parent
ab0d85c84f
commit
2d7b90e848
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user