newQueryWithoutScopes() not working #375
-
|
I have a project (4.1) where i was using newQueryWithoutScopes() to clear the scopes and apply a simple filter. After upgrading to backpack 5.4 im getting an error on CrudPanel\Traits\Query.php : 249 Has anyone else encountered this error? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Hum.. thanks for sharing @prodixx ! I think Can you just confirm that changing Would you like to send the PR for it ? Cheers |
Beta Was this translation helpful? Give feedback.
-
|
Yuup! That does the trick. Yes, I will open a PR. thank you. |
Beta Was this translation helpful? Give feedback.

Hum.. thanks for sharing @prodixx !
I think
newQueryWithoutScopesalso removes theselect *that's present by default on every model query builder.Can you just confirm that changing
foreach($crudQuery->columns ?? [] as $column)would fix this ?Would you like to send the PR for it ?
Cheers