diff --git a/isimip_data/metadata/viewsets.py b/isimip_data/metadata/viewsets.py index dbdbdd4..4738d00 100644 --- a/isimip_data/metadata/viewsets.py +++ b/isimip_data/metadata/viewsets.py @@ -47,7 +47,7 @@ class DatasetViewSet(ReadOnlyModelViewSet): 'files__links', 'links', 'resources' - ) + ).distinct('path') pagination_class = Pagination filter_backends = (