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.
master
Tom Hacohen 5 years ago
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…
Cancel
Save