mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Specify table name in deleted user display
This commit is contained in:
parent
394e51029e
commit
ffc51d6db6
|
@ -450,7 +450,7 @@ class User extends SnipeModel implements AuthenticatableContract, AuthorizableCo
|
||||||
*/
|
*/
|
||||||
public function scopeGetDeleted($query)
|
public function scopeGetDeleted($query)
|
||||||
{
|
{
|
||||||
return $query->withTrashed()->whereNotNull('deleted_at');
|
return $query->withTrashed()->whereNotNull('users.deleted_at');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue