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

[5.x] Fix search query orderBy #11210

Merged
merged 1 commit into from
Dec 2, 2024
Merged

[5.x] Fix search query orderBy #11210

merged 1 commit into from
Dec 2, 2024

Conversation

jasonvarga
Copy link
Member

@jasonvarga jasonvarga commented Dec 2, 2024

Fixes $searchQuery->orderBy().

The method_exists check a couple lines later doesn't pass anymore since we refactored to search Result classes.

Ideally this should be fixed with some sort of new interface, but this couple line fix was an easy win.

Fixes #11200

@jasonvarga jasonvarga merged commit 5df475b into 5.x Dec 2, 2024
20 checks passed
@jasonvarga jasonvarga deleted the search-orderby branch December 2, 2024 17:56
@robdekort
Copy link
Contributor

Lovely!

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.

Ordering search results by order doesn't work
2 participants