Skip to content

Commit

Permalink
Fixed order by notes for users
Browse files Browse the repository at this point in the history
Signed-off-by: snipe <[email protected]>
  • Loading branch information
snipe committed Nov 27, 2024
1 parent 46be1ad commit ee4a54b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/Http/Controllers/Api/UsersController.php
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,7 @@ public function index(Request $request) : array
'autoassign_licenses',
'website',
'locale',
'notes',
];

$sort = in_array($request->input('sort'), $allowed_columns) ? $request->input('sort') : 'first_name';
Expand Down

0 comments on commit ee4a54b

Please sign in to comment.