Skip to content

Commit

Permalink
Merge pull request #123 from digio-ch/issue/hc-251
Browse files Browse the repository at this point in the history
change grouptype to region
  • Loading branch information
SebastianStorz committed Jul 21, 2024
2 parents 5bdc4c8 + 887fd39 commit e927ffa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Repository/Midata/GroupRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ public function findAllDepartmentsForFederation(int $federationId): array
->where('g.parentGroup = :federationId')
->andWhere('gt.groupType IN (:groupType)')
->setParameter('federationId', $federationId)
->setParameter('groupType', ['Group::Kantonalverband'])
->setParameter('groupType', ['Group::Region'])
->getQuery()
->getArrayResult();
}
Expand Down

0 comments on commit e927ffa

Please sign in to comment.