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

@@ -95,6 +95,7 @@ class ProjectRepository extends AbstractRepository
$query->setHiddenEntity($entity);
$query->setCustomer($customer);
$query->setResultType(ProjectQuery::RESULT_TYPE_QUERYBUILDER);
$query->setOrderBy('name');
return $this->findByQuery($query);
}