这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@jodysowald
Copy link
Contributor

I had an issue where the sorting order was important to the user and as soon as they started typing to search it was wrong. I tracked that down to the inner comparator where default alphanumeric is used when both terms match the search. Instead I've set both terms to use the custom comparator when both are valid results, maintaining order.

I've also added a property for whether search results are shown at the top of the list, useful when users do not want items shown out of order. Default value maintains previous functionality.

@jodysowald jodysowald changed the title making search results at the top optional and trusting the user's sorting method making search results at the top optional and preferring the user's sorting method Sep 30, 2025
@dlemmermann dlemmermann merged commit 50e8ea5 into dlsc-software-consulting-gmbh:master Oct 29, 2025
@dlemmermann
Copy link
Collaborator

Merged it, but please also try to add the new feature to the demo apps. I have done this now.

@jodysowald jodysowald deleted the features/small-changes branch October 29, 2025 16:37
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.

2 participants