Sort shift types by name

This commit is contained in:
Igor Scheller 2023-08-19 14:17:42 +02:00 committed by Michael Weimann
parent a60c5987ab
commit 931f3ba10d
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ function shifttype_controller()
*/ */
function shifttypes_list_controller() function shifttypes_list_controller()
{ {
$shifttypes = ShiftType::all(); $shifttypes = ShiftType::all()->sortBy('name', SORT_NATURAL | SORT_FLAG_CASE);
return [ return [
shifttypes_title(), shifttypes_title(),