Specify table name in deleted user display

This commit is contained in:
snipe 2019-01-24 14:33:54 -08:00
parent 394e51029e
commit ffc51d6db6

View file

@ -450,7 +450,7 @@ class User extends SnipeModel implements AuthenticatableContract, AuthorizableCo
*/
public function scopeGetDeleted($query)
{
return $query->withTrashed()->whereNotNull('deleted_at');
return $query->withTrashed()->whereNotNull('users.deleted_at');
}
/**