Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API doesn't sort resources #11424

Closed
giohappy opened this issue Aug 29, 2023 · 3 comments
Closed

API doesn't sort resources #11424

giohappy opened this issue Aug 29, 2023 · 3 comments
Assignees
Labels
4.1.x master regression Issues related to regressions.

Comments

@giohappy
Copy link
Contributor

The resources endpoint doesn't respect the sorting criteria requested in the GET parameters.
To be investigated if this also affects downstream APIs (datasets, documents, etc.).

Example request:
https://development.demo.geonode.org/api/v2/resources?include[]=executions&filter{metadata_only}=false&page=1&page_size=24&**sort=title**

The expected response is resources sorted by title, but it doesn't work.

@giohappy giohappy added regression Issues related to regressions. master 4.1.x labels Aug 29, 2023
@etj
Copy link
Contributor

etj commented Sep 8, 2023

It seems the issue is client side GeoNode/geonode-mapstore-client#1551

@giohappy
Copy link
Contributor Author

Actually, this is not completed since it's marked also for 4.1.x, while it's been fixed only for master.
We will need to check if we can backport GeoNode/geonode-mapstore-client#1552 easily. I think so...

@giohappy
Copy link
Contributor Author

Well, this can be closed in any case, since this issue is managed in GeoNode/geonode-mapstore-client#1551
The backport has been merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4.1.x master regression Issues related to regressions.
Projects
None yet
Development

No branches or pull requests

2 participants