mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 05:04:07 -08:00
Removed duplicate locations_id search
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
61e10be04d
commit
6c17b141db
|
@ -203,9 +203,6 @@ class UsersController extends Controller
|
|||
$users->where('autoassign_licenses', '=', $request->input('autoassign_licenses'));
|
||||
}
|
||||
|
||||
if ($request->filled('location_id') != '') {
|
||||
$users = $users->UserLocation($request->input('location_id'), $request->input('search'));
|
||||
}
|
||||
|
||||
if (($request->filled('deleted')) && ($request->input('deleted') == 'true')) {
|
||||
$users = $users->onlyTrashed();
|
||||
|
|
Loading…
Reference in a new issue