Skip to content

Commit

Permalink
Merged branch '4.6'
Browse files Browse the repository at this point in the history
  • Loading branch information
alongosz committed Apr 11, 2024
2 parents bde3538 + 20717d9 commit 3126cd5
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,8 @@ public function loadRole(int $roleId, int $status = Role::STATUS_DEFINED): array
$this->buildRoleDraftQueryConstraint($status, $query)
)
->orderBy('p.id', 'ASC')
->addOrderBy('l.identifier', 'ASC');
->addOrderBy('l.identifier', 'ASC')
->addOrderBy('v.value', 'ASC');

return $query->execute()->fetchAllAssociative();
}
Expand All @@ -182,7 +183,8 @@ public function loadRoleByIdentifier(
$this->buildRoleDraftQueryConstraint($status, $query)
)
->orderBy('p.id', 'ASC')
->addOrderBy('l.identifier', 'ASC');
->addOrderBy('l.identifier', 'ASC')
->addOrderBy('v.value', 'ASC');

return $query->execute()->fetchAllAssociative();
}
Expand Down

0 comments on commit 3126cd5

Please sign in to comment.