mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-11 05:47:28 -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);
|
||||
break;
|
||||
}
|
||||
$userCount = $users->count();
|
||||
$total = $users->count();
|
||||
$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