diff --git a/dandiapi/api/views/asset.py b/dandiapi/api/views/asset.py index f412629a0..d4c90ac51 100644 --- a/dandiapi/api/views/asset.py +++ b/dandiapi/api/views/asset.py @@ -137,7 +137,7 @@ class Meta: class AssetViewSet(DetailSerializerMixin, GenericViewSet): - queryset = Asset.objects.all().order_by('created') + queryset = Asset.objects.all().select_related('zarr').order_by('created') serializer_class = AssetSerializer serializer_detail_class = AssetDetailSerializer