Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
EZP-28949: switched sort of field type selection to use human readabl…
…e name (ezsystems#216)
  • Loading branch information
skonrad authored and Łukasz Serwatka committed Mar 14, 2018
1 parent 14da15a commit b62494b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Form/Type/ContentType/FieldTypeChoiceType.php
Expand Up @@ -69,7 +69,7 @@ private function getFieldTypeChoices()
$choices[$this->getFieldTypeLabel($fieldTypeIdentifier)] = $fieldTypeIdentifier;
}

asort($choices, SORT_NATURAL);
ksort($choices, SORT_NATURAL);

return $choices;
}
Expand Down

0 comments on commit b62494b

Please sign in to comment.