-
Notifications
You must be signed in to change notification settings - Fork 11.2k
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
[8.x] Columns in the order by list must be unique #37582
Conversation
MySql is ok with it, but SqlServer error out. See a similar issue here: laravel/nova-issues#1621
@Javdu10 Would be a good idea to add a regression test using |
@BrandonSurowiec done, I'm not sure what form it should have, let me know if it's correct |
@Javdu10 Looks good to me! |
This reverts commit f0c6f4d.
This PR was reverted because it continued to break things. See #37647 |
Hello @driesvints, thank you for the notice! @taylorotwell, that person's test pass if it's not overridable by calling order by again (see: #37505 (comment)) So what should we do? It would be fixed if scopes are executed before applying |
@Javdu10 I doubt we'll be making more changes to this for the time being, sorry. |
Sorry for the inconveniences...
See: #37505 for more context
Fixes: #37581