You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure under which conditions this happens, this commit from Laravel 7.8.0 update breaks some search queries: laravel/framework@70d7ba1
@studmon After I spent the good portion of today and yesterday messing around with this, I found it was related to this core laravel commit: laravel/framework@70d7ba1
For some reason the bindings get reset (as you can see from that commit) when you call select() :-( So all of the work that eloquence did putting all the parameters together with the placeholders in the query all gets blown away and reset.
If you are using select() in your eloquent query, I would recommend calling the select() before search() and if you can, I would call select before any other eloquent methods.
I'm not sure under which conditions this happens, this commit from Laravel 7.8.0 update breaks some search queries:
laravel/framework@70d7ba1
The text was updated successfully, but these errors were encountered: