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

Apply order by traits to search results #3188

Conversation

ryanmitchell
Copy link
Contributor

Allows for sorting of search:results tag (e.g. {{ search:results sort="title:asc" }} )
Issue reference: #2383

Suggested fix by @jasonvarga on Discord... I've just applied the logic he suggested.

The only possible problem I can see is that you can't sort by search_score:asc or search_score:desc as thing stand.

Apologies if I've missed anything else required to contribute, do let me know if I need to do anything more.

@jesseleite
Copy link
Member

Whoops, just saw this after I pushed! Fixed in d403f38, but thank you for the PR ❤️

@jesseleite jesseleite closed this Feb 10, 2021
@ryanmitchell ryanmitchell deleted the apply-orderby-trait-to-search-results branch January 19, 2023 14:57
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