Angellist: Fixed sorting

This commit is contained in:
Igor Scheller 2020-11-17 21:34:34 +01:00
parent 51612a68f0
commit a136cd97df
1 changed files with 2 additions and 1 deletions

View File

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