Skip to content

Commit 2869f25

Browse files
Order people list by fullname
Closes #64
1 parent 8f4841a commit 2869f25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Repository/PersonRepository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public function __construct(ManagerRegistry $registry) {
2727
*/
2828
public function indexQuery() {
2929
return $this->createQueryBuilder('person')
30-
->orderBy('person.id')
30+
->orderBy('person.fullName')
3131
->getQuery()
3232
;
3333
}

0 commit comments

Comments
 (0)