mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 13:14:07 -08:00
For for deleted user API
This commit is contained in:
parent
57d6a7d35e
commit
c66f8c04c8
|
@ -68,7 +68,7 @@ class UsersController extends Controller
|
||||||
|
|
||||||
if (($request->filled('deleted')) && ($request->input('deleted')=='true')) {
|
if (($request->filled('deleted')) && ($request->input('deleted')=='true')) {
|
||||||
$users = $users->onlyTrashed();
|
$users = $users->onlyTrashed();
|
||||||
} elseif (($request->filled('all')) && ($request->input('deleted')=='true')) {
|
} elseif (($request->filled('all')) && ($request->input('all')=='true')) {
|
||||||
$users = $users->withTrashed();
|
$users = $users->withTrashed();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue