Items must have a uid now (not null).
This is due to the previous change.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user