Skip to content

feat(search): customizable defaultSort#1114

Open
abulte wants to merge 2 commits into
mainfrom
feat/search/default-sort
Open

feat(search): customizable defaultSort#1114
abulte wants to merge 2 commits into
mainfrom
feat/search/default-sort

Conversation

@abulte
Copy link
Copy Markdown
Contributor

@abulte abulte commented Jun 2, 2026

This lets the downstream component set a defaultSort for a given type.

I chose to hide the default Pertinence option when a defaultSort is set. This avoids having to handle a new relevance placeholder value for this sort order: it currently uses undefined and would clash with sort = undefined ?? defaultSort. YMMV, not a problem downstream for now.

@abulte abulte changed the title feat(search): customizable defaulSort feat(search): customizable defaultSort Jun 2, 2026
@abulte abulte marked this pull request as ready for review June 2, 2026 16:40
@abulte
Copy link
Copy Markdown
Contributor Author

abulte commented Jun 2, 2026

(Tests are failing all over the place with a 30min timeout this afternoon 🤷)

@abulte abulte requested a review from ThibaudDauce June 2, 2026 16:41
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