mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-26 06:04:08 -08:00
Deleted duplicate statement
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
b64d7e38f2
commit
5e4455f042
|
@ -192,7 +192,6 @@ class UsersController extends Controller
|
||||||
}
|
}
|
||||||
|
|
||||||
$order = $request->input('order') === 'asc' ? 'asc' : 'desc';
|
$order = $request->input('order') === 'asc' ? 'asc' : 'desc';
|
||||||
$offset = (($users) && (request('offset') > $users->count())) ? 0 : request('offset', 0);
|
|
||||||
|
|
||||||
// Set the offset to the API call's offset, unless the offset is higher than the actual count of items in which
|
// Set the offset to the API call's offset, unless the offset is higher than the actual count of items in which
|
||||||
// case we override with the actual count, so we should return 0 items.
|
// case we override with the actual count, so we should return 0 items.
|
||||||
|
|
Loading…
Reference in a new issue