disabled scopes for common models
This commit is contained in:
parent
ef42448b71
commit
5acbb11885
@ -17,6 +17,10 @@ trait Scopes
|
||||
*/
|
||||
public function applyTypeScope(Builder $builder, Model $model)
|
||||
{
|
||||
// Getting type from request causes lots of issues
|
||||
// @todo Try event/listener similar to Permissions trait
|
||||
return;
|
||||
|
||||
// Skip if already exists
|
||||
if ($this->scopeExists($builder, 'type')) {
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user