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')
|
# XXX Potentially add this for performance: .prefetch_related('revisions__chunks')
|
||||||
queryset = type(self).queryset.filter(collection__pk=collection.pk,
|
queryset = type(self).queryset.filter(collection__pk=collection.pk,
|
||||||
uid__isnull=False,
|
uid__isnull=False,
|
||||||
revisions__current=True,
|
revisions__current=True)
|
||||||
revisions__deleted=False)
|
|
||||||
|
|
||||||
return queryset
|
return queryset
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user