Fixed deleted ordering scope

This commit is contained in:
snipe 2017-11-07 11:06:38 -08:00
parent a202e1657c
commit 84a717c6ad

View file

@ -694,7 +694,7 @@ class Asset extends Depreciable
public function scopeDeleted($query)
{
return $query->whereNotNull('deleted_at');
return $query->whereNotNull('assets.deleted_at');
}
/**