Skip to content

Commit

Permalink
Fix error during area search in Metadata module (#3254)
Browse files Browse the repository at this point in the history
Co-authored-by: geoek <jerome.maruejouls@gmail.com>
  • Loading branch information
JeromeMaruejouls and geoek authored Nov 13, 2024
1 parent cee7c8f commit b7234ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/geonature/core/gn_meta/models/datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ class DatasetFilterSchema(MetadataFilterSchema):

areas = params.get("areas")
if areas:
query = query.where_by_areas(areas)
query = TDatasets.filter_by_areas(areas, query=query)

search = params.get("search")
if search:
Expand Down

0 comments on commit b7234ab

Please sign in to comment.