More logical grouping in allow_columns

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2024-10-15 16:41:39 +01:00
parent 914a647204
commit 50b8f180b3

View file

@ -42,13 +42,14 @@ class UsersController extends Controller
$users = User::select([ $users = User::select([
'users.activated', 'users.activated',
'users.created_by',
'users.address', 'users.address',
'users.avatar', 'users.avatar',
'users.city', 'users.city',
'users.company_id', 'users.company_id',
'users.country', 'users.country',
'users.created_by',
'users.created_at', 'users.created_at',
'users.updated_at',
'users.deleted_at', 'users.deleted_at',
'users.department_id', 'users.department_id',
'users.email', 'users.email',
@ -67,7 +68,6 @@ class UsersController extends Controller
'users.state', 'users.state',
'users.two_factor_enrolled', 'users.two_factor_enrolled',
'users.two_factor_optin', 'users.two_factor_optin',
'users.updated_at',
'users.username', 'users.username',
'users.zip', 'users.zip',
'users.remote', 'users.remote',