alphabetical order for selectboxes (#510)

This commit is contained in:
Kevin Papst
2019-01-19 19:24:29 +01:00
committed by GitHub
parent a609cbf84a
commit 5b1ec1eb8f
5 changed files with 15 additions and 10 deletions

View File

@@ -99,6 +99,7 @@ class CustomerRepository extends AbstractRepository
$query = new CustomerQuery();
$query->setHiddenEntity($entity);
$query->setResultType(CustomerQuery::RESULT_TYPE_QUERYBUILDER);
$query->setOrderBy('name');
return $this->findByQuery($query);
}