Laravel Nova Resource Index Query not respecting ordering when scout is enabled #5731
Unanswered
oluomotoso
asked this question in
Q&A
Replies: 1 comment 9 replies
-
|
This is the expected behaviour so Scout can utilise the relevant search results instead of just depending on |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description:
When Laravel Scout is enabled - the resource index field is not respecting the default sort
Detailed steps to reproduce the issue on a fresh Nova installation:
Install and configure Laravel Nova with Laravel Scout enabled.
Create a resource in Laravel Nova with a default sorting defined in the indexQuery method.
Observe that the default sorting is not applied to the index results.
Beta Was this translation helpful? Give feedback.
All reactions