Angellist: Fixed sorting
This commit is contained in:
parent
51612a68f0
commit
a136cd97df
|
@ -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 [
|
||||||
|
|
Loading…
Reference in New Issue