-
Notifications
You must be signed in to change notification settings - Fork 34
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
Select All Matching causes sql error for SQL Server with actions #1621
Comments
I am also having this issue |
jbrooksuk
changed the title
[Bug] Select All Matching causes sql error for SQL Server with actions
Select All Matching causes sql error for SQL Server with actions
Jul 31, 2019
Javdu10
added a commit
to Javdu10/framework
that referenced
this issue
May 27, 2021
MySql is ok with it, but SqlServer error out. See a similar issue here: laravel/nova-issues#1621
Javdu10
added a commit
to Javdu10/framework
that referenced
this issue
May 27, 2021
MySql is ok with it, but SqlServer error out. See a similar issue here: laravel/nova-issues#1621
taylorotwell
added a commit
to laravel/framework
that referenced
this issue
Jun 1, 2021
* Columns in the order by list must be unique MySql is ok with it, but SqlServer error out. See a similar issue here: laravel/nova-issues#1621 * override with next call * Update Builder.php Co-authored-by: Taylor Otwell <[email protected]>
taylorotwell
added a commit
to illuminate/database
that referenced
this issue
Jun 1, 2021
* Columns in the order by list must be unique MySql is ok with it, but SqlServer error out. See a similar issue here: laravel/nova-issues#1621 * override with next call * Update Builder.php Co-authored-by: Taylor Otwell <[email protected]>
taylorotwell
added a commit
to laravel/framework
that referenced
this issue
Jun 4, 2021
* Columns in the order by list must be unique MySql is ok with it, but SqlServer error out. See a similar issue here: laravel/nova-issues#1621 * override with next call * Update Builder.php * fix: "undefined index: column" from #37581 * add a regression test Co-authored-by: Taylor Otwell <[email protected]>
taylorotwell
added a commit
to illuminate/database
that referenced
this issue
Jun 4, 2021
* Columns in the order by list must be unique MySql is ok with it, but SqlServer error out. See a similar issue here: laravel/nova-issues#1621 * override with next call * Update Builder.php * fix: "undefined index: column" from #37581 * add a regression test Co-authored-by: Taylor Otwell <[email protected]>
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description:
Using "Select All Matching" and running an action, will result in a query where
id
is sorted twice. Looking at the queries from Telescope I see the following:SQL Server
MySQL
This works fine on MySQL but throws an exception for SQL Server:
Backtracing reveal that it's caused by using
latest()
inLaravel\Nova\Http\Requests\ActionRequest::chunks()
.There's also an error in
Laravel\Nova\PerformsQueries::applyOrderings()
on line 143, whereempty($query->orders)
should beempty($query->getQuery()->orders)
.Steps To Reproduce:
The text was updated successfully, but these errors were encountered: