mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-23 11:43:47 -08:00
Fixed deleted ordering scope
This commit is contained in:
parent
a202e1657c
commit
84a717c6ad
|
@ -694,7 +694,7 @@ class Asset extends Depreciable
|
|||
|
||||
public function scopeDeleted($query)
|
||||
{
|
||||
return $query->whereNotNull('deleted_at');
|
||||
return $query->whereNotNull('assets.deleted_at');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue