Skip to content

A free open source IT asset/license management system

Specify table name in deleted user display

snipe39bca49e8f81
diff --git a/app/Models/User.php b/app/Models/User.php
index f9f5c5e573..8b1ce41005 100755
--- a/app/Models/User.php
+++ b/app/Models/User.php
@@ -328,7 +328,7 @@ class User extends SnipeModel implements AuthenticatableContract, CanResetPasswo
public function scopeGetDeleted($query)
{
- return $query->withTrashed()->whereNotNull('deleted_at');
+ return $query->withTrashed()->whereNotNull('users.deleted_at');
}
public function scopeGetNotDeleted($query)