Fixed deleted ordering scope
This commit is contained in:
parent
a202e1657c
commit
84a717c6ad
1 changed files with 1 additions and 1 deletions
|
@ -694,7 +694,7 @@ class Asset extends Depreciable
|
|||
|
||||
public function scopeDeleted($query)
|
||||
{
|
||||
return $query->whereNotNull('deleted_at');
|
||||
return $query->whereNotNull('assets.deleted_at');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue