Sort shift types by name
This commit is contained in:
parent
a60c5987ab
commit
931f3ba10d
|
@ -122,7 +122,7 @@ function shifttype_controller()
|
|||
*/
|
||||
function shifttypes_list_controller()
|
||||
{
|
||||
$shifttypes = ShiftType::all();
|
||||
$shifttypes = ShiftType::all()->sortBy('name', SORT_NATURAL | SORT_FLAG_CASE);
|
||||
|
||||
return [
|
||||
shifttypes_title(),
|
||||
|
|
Loading…
Reference in New Issue