Skip to content

Commit

Permalink
Add distinct to datasets query
Browse files Browse the repository at this point in the history
  • Loading branch information
jochenklar committed Jan 4, 2024
1 parent 4218eef commit 74b1aae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion isimip_data/metadata/viewsets.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class DatasetViewSet(ReadOnlyModelViewSet):
'files__links',
'links',
'resources'
)
).distinct('path')
pagination_class = Pagination

filter_backends = (
Expand Down

0 comments on commit 74b1aae

Please sign in to comment.