Skip to content

Add option to pass $orderby API query param - #174

Merged
alexdunae merged 5 commits into
mainfrom
alex/allow-orderby
Sep 11, 2025
Merged

Add option to pass $orderby API query param#174
alexdunae merged 5 commits into
mainfrom
alex/allow-orderby

Conversation

@alexdunae

@alexdunae alexdunae commented Sep 10, 2025

Copy link
Copy Markdown
Contributor

Add the ability to order responses from the iTwin API to the endpoints that allow it.

Neither the favorites or recents API endpoints support sorting

The "all iTwins" API endpoint does support sorting, so this PR adds support for passing $orderby params via the orderByOptions prop.

@alexdunae
alexdunae marked this pull request as ready for review September 10, 2025 17:51
@alexdunae
alexdunae merged commit ef82558 into main Sep 11, 2025
5 checks passed
@alexdunae
alexdunae deleted the alex/allow-orderby branch September 11, 2025 13:33
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.

3 participants