mirror of
https://github.com/grocy/grocy.git
synced 2025-08-15 02:04:38 +00:00
Implemented Userfields for users (closes #1159)
This commit is contained in:
@@ -64,7 +64,9 @@ class UsersController extends BaseController
|
||||
{
|
||||
User::checkPermission($request, User::PERMISSION_USERS_READ);
|
||||
return $this->renderPage($response, 'users', [
|
||||
'users' => $this->getDatabase()->users()->orderBy('username')
|
||||
'users' => $this->getDatabase()->users()->orderBy('username'),
|
||||
'userfields' => $this->getUserfieldsService()->GetFields('users'),
|
||||
'userfieldValues' => $this->getUserfieldsService()->GetAllValues('users')
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user