Items must have a uid now (not null).

This is due to the previous change.
This commit is contained in:
Tom Hacohen
2020-06-23 13:00:51 +03:00
parent 267d749c45
commit 291ebaa3f7
3 changed files with 26 additions and 2 deletions

View File

@@ -228,7 +228,6 @@ class CollectionItemViewSet(BaseViewSet):
raise Http404("Collection does not exist")
# 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)
return queryset