Fix user sorting on angeltype page (#1144)
This commit is contained in:
parent
063e9a8ec2
commit
9bd3978257
|
@ -171,8 +171,7 @@ function angeltype_controller()
|
||||||
$angeltype = AngelType::findOrFail(request()->input('angeltype_id'));
|
$angeltype = AngelType::findOrFail(request()->input('angeltype_id'));
|
||||||
/** @var UserAngelType $user_angeltype */
|
/** @var UserAngelType $user_angeltype */
|
||||||
$user_angeltype = UserAngelType::whereUserId($user->id)->where('angel_type_id', $angeltype->id)->first();
|
$user_angeltype = UserAngelType::whereUserId($user->id)->where('angel_type_id', $angeltype->id)->first();
|
||||||
$members = $angeltype->userAngelTypes->sortBy('name');
|
$members = $angeltype->userAngelTypes->sortBy('name', SORT_NATURAL|SORT_FLAG_CASE);
|
||||||
|
|
||||||
$days = angeltype_controller_shiftsFilterDays($angeltype);
|
$days = angeltype_controller_shiftsFilterDays($angeltype);
|
||||||
$shiftsFilter = angeltype_controller_shiftsFilter($angeltype, $days);
|
$shiftsFilter = angeltype_controller_shiftsFilter($angeltype, $days);
|
||||||
if (request()->input('showFilledShifts')) {
|
if (request()->input('showFilledShifts')) {
|
||||||
|
|
|
@ -994,7 +994,7 @@ msgid "The following angels are needed"
|
||||||
msgstr "Die folgenden Engel werden benötigt"
|
msgstr "Die folgenden Engel werden benötigt"
|
||||||
|
|
||||||
msgid "All Angels"
|
msgid "All Angels"
|
||||||
msgstr "Engelliste"
|
msgstr "Alle Engel"
|
||||||
|
|
||||||
msgid "This user does not exist."
|
msgid "This user does not exist."
|
||||||
msgstr "Benutzer existiert nicht."
|
msgstr "Benutzer existiert nicht."
|
||||||
|
|
Loading…
Reference in New Issue