Global Scopes not being ignored on select
I have this select:
And everything works fine until I save. Then the options that are displayed are not complete (it's obvious that the global scope is applied).
I have global scopes disabled for the whole resource:
The DB shows that the selected options got saved (4 rows). But the select only shows 3 options selected (since the 4th is blocked by the scope).
2 Replies
Try disabling globalscopes and setting them:
return parent::getEloquentQuery()->withoutGlobalScopes(['scope1', 'scope2']);
@toeknee I don't think that's any different from what I already have?
But anyway, tried specifying the specific scopes and still no luck
Had to add this to get it working: