mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-11 13:57:41 -08:00
Changed variable name for consistency
This commit is contained in:
parent
76926c97c1
commit
452c52a3ab
|
@ -83,9 +83,9 @@ class UsersController extends Controller
|
||||||
$users = $users->orderBy($sort, $order);
|
$users = $users->orderBy($sort, $order);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
$userCount = $users->count();
|
$total = $users->count();
|
||||||
$users = $users->skip($offset)->take($limit)->get();
|
$users = $users->skip($offset)->take($limit)->get();
|
||||||
return (new UsersTransformer)->transformUsers($users, $userCount);
|
return (new UsersTransformer)->transformUsers($users, $total);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue