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
When strict mode is off rejected items are excluded by default through a global scope on the boot method. This is to be expected, however, it doesn't appear possible to include them using the withRejected() local scope.
$user->persona->withRejected()->first(); returns null if persona is rejected as the global scope supersedes the local one; the where status != 2 clause excludes rejected records despite the local scope where status in (1,2) including them.
The text was updated successfully, but these errors were encountered:
When strict mode is off rejected items are excluded by default through a global scope on the boot method. This is to be expected, however, it doesn't appear possible to include them using the withRejected() local scope.
$user->persona->withRejected()->first();
returns null if persona is rejected as the global scope supersedes the local one; thewhere status != 2
clause excludes rejected records despite the local scopewhere status in (1,2)
including them.The text was updated successfully, but these errors were encountered: