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:
1 parent
ab0d85c84f
commit
2d7b90e848
1 file changed
+1
-2
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user