mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 22:53:49 +00:00
Merge branch 'issue324_civility_order' into 'master'
main: add order field to civility See merge request Chill-Projet/chill-bundles!265
This commit is contained in:
@@ -197,7 +197,8 @@ class PersonType extends AbstractType
|
||||
},
|
||||
'query_builder' => static function (EntityRepository $er): QueryBuilder {
|
||||
return $er->createQueryBuilder('c')
|
||||
->where('c.active = true');
|
||||
->where('c.active = true')
|
||||
->orderBy('c.order');
|
||||
},
|
||||
'placeholder' => 'choose civility',
|
||||
'required' => false,
|
||||
|
Reference in New Issue
Block a user