Skip to content

Commit

Permalink
Fix orderby member
Browse files Browse the repository at this point in the history
  • Loading branch information
trasher committed Sep 4, 2024
1 parent 0cf13ed commit 83a1e83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/GaletteEvents/Repository/Bookings.php
Original file line number Diff line number Diff line change
Expand Up @@ -365,8 +365,8 @@ private function buildOrderClause(array $fields = null): array
break;
case self::ORDERBY_MEMBER:
if ($this->canOrderBy(Adherent::PK, $fields)) {
$order[] = 'a.nom_adh ' . $this->filters->getDirection() .
', a.prenom_adh ' . $this->filters->getDirection();
$order[] = 'a.nom_adh ' . $this->filters->getDirection();
$order[] = 'a.prenom_adh ' . $this->filters->getDirection();
}
break;
case self::ORDERBY_BOOKDATE:
Expand Down

0 comments on commit 83a1e83

Please sign in to comment.