Skip to content

Commit

Permalink
fix(wekeo_ecmwf): ensure all parameters are included in the normalize…
Browse files Browse the repository at this point in the history
…d _dc_qs
  • Loading branch information
alambare committed Nov 27, 2024
1 parent 60acd35 commit 7721704
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion eodag/plugins/search/build_search_result.py
Original file line number Diff line number Diff line change
Expand Up @@ -1228,7 +1228,13 @@ def normalize_results(
:param kwargs: Search arguments
:returns: list of single :class:`~eodag.api.product._product.EOProduct`
"""
return PostJsonSearch.normalize_results(self, results, **kwargs)
normalized = QueryStringSearch.normalize_results(self, results, **kwargs)

normalized[0].properties["_dc_qs"] = quote_plus(
orjson.dumps(results.query_params)
)

return normalized

def do_search(self, *args: Any, **kwargs: Any) -> List[Dict[str, Any]]:
"""Should perform the actual search request.
Expand Down

0 comments on commit 7721704

Please sign in to comment.