From b8269020aea65b5c1bd470057de20082bea1315d Mon Sep 17 00:00:00 2001 From: snipe Date: Thu, 24 Jan 2019 14:37:39 -0800 Subject: [PATCH] Specify table name in deleted user display --- app/Models/User.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/User.php b/app/Models/User.php index e206f06d38..f9f5c5e573 100755 --- a/app/Models/User.php +++ b/app/Models/User.php @@ -445,7 +445,7 @@ class User extends SnipeModel implements AuthenticatableContract, CanResetPasswo public function scopeDeleted($query) { - return $query->whereNotNull('deleted_at'); + return $query->whereNotNull('users.deleted_at'); }