Skip to content

Commit 8c01de2

Browse files
zorn-vweaverryan
authored andcommitted
Sort doctrine entities for autocomplete
1 parent ff00742 commit 8c01de2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Doctrine/DoctrineHelper.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,8 @@ public function getEntitiesForAutocomplete(): array
124124
}
125125
}
126126

127+
sort($entities);
128+
127129
return $entities;
128130
}
129131

0 commit comments

Comments
 (0)