Skip to content

Conversation

@jonhealy1
Copy link
Collaborator

@jonhealy1 jonhealy1 commented Sep 11, 2025

Related Issue(s):

Description:

  • Sortby extension, functionality to the item collection route.
  • Filter extension, functionality to the item collection route.
  • Query extension, functionality to the item collection route.
  • Simplified the item_collection function in core.py, moving the request to the get_search function.
  • Fixed issue where sortby was not accepting the default sort, where a + or - was not specified before the field value ie. localhost:8081/collections/{collection_id}/items?sortby=id.

PR Checklist:

  • Code is formatted and linted (run pre-commit run --all-files)
  • Tests pass (run make test)
  • Documentation has been updated to reflect changes, if applicable
  • Changes are added to the changelog

@jonhealy1 jonhealy1 marked this pull request as ready for review September 11, 2025 17:27
@jonhealy1 jonhealy1 changed the title Add sort to item collection route Add sort, query to item collection route Sep 12, 2025
@jonhealy1 jonhealy1 changed the title Add sort, query to item collection route Add sort, query, filter extensions, functionality to item collection route Sep 13, 2025
@jonhealy1 jonhealy1 merged commit 859732e into stac-utils:main Sep 16, 2025
15 checks passed
@jonhealy1 jonhealy1 deleted the sort-item-collection branch September 16, 2025 03:09
YuriZmytrakov pushed a commit to YuriZmytrakov/stac-fastapi-elasticsearch-opensearch that referenced this pull request Sep 23, 2025
…route (stac-utils#437)

**Related Issue(s):**

- stac-utils#440

**Description:**

- Sortby extension, functionality to the item collection route. 
- Filter extension, functionality to the item collection route. 
- Query extension, functionality to the item collection route. 
- Simplified the item_collection function in core.py, moving the request
to the get_search function.
- Fixed issue where sortby was not accepting the default sort, where a +
or - was not specified before the field value ie.
localhost:8081/collections/{collection_id}/items?sortby=id.

**PR Checklist:**

- [x] Code is formatted and linted (run `pre-commit run --all-files`)
- [x] Tests pass (run `make test`)
- [x] Documentation has been updated to reflect changes, if applicable
- [x] Changes are added to the changelog
YuriZmytrakov pushed a commit to YuriZmytrakov/stac-fastapi-elasticsearch-opensearch that referenced this pull request Sep 23, 2025
…route (stac-utils#437)

**Related Issue(s):**

- stac-utils#440

**Description:**

- Sortby extension, functionality to the item collection route. 
- Filter extension, functionality to the item collection route. 
- Query extension, functionality to the item collection route. 
- Simplified the item_collection function in core.py, moving the request
to the get_search function.
- Fixed issue where sortby was not accepting the default sort, where a +
or - was not specified before the field value ie.
localhost:8081/collections/{collection_id}/items?sortby=id.

**PR Checklist:**

- [x] Code is formatted and linted (run `pre-commit run --all-files`)
- [x] Tests pass (run `make test`)
- [x] Documentation has been updated to reflect changes, if applicable
- [x] Changes are added to the changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant