Angellist: Fixed sorting

main
Igor Scheller 4 years ago
parent 51612a68f0
commit a136cd97df

@ -6,6 +6,7 @@ use Engelsystem\Models\User\User;
use Engelsystem\ShiftCalendarRenderer;
use Engelsystem\ShiftsFilter;
use Illuminate\Database\Eloquent\Collection;
use Illuminate\Support\Str;
/**
* Route user actions.
@ -300,7 +301,7 @@ function users_list_controller()
$data[$key] = $value;
});
return isset($data[$order_by]) ? $data[$order_by] : null;
return isset($data[$order_by]) ? Str::lower($data[$order_by]) : null;
});
return [

Loading…
Cancel
Save