accompanying course: display closed acc. period in list

This commit is contained in:
nobohan
2022-01-20 08:32:48 +01:00
parent 343b2a6f2f
commit 25ebeebdfb
3 changed files with 7 additions and 1 deletions

View File

@@ -687,7 +687,7 @@ class Person implements HasCenterInterface, TrackCreationInterface, TrackUpdateI
$result = new ArrayCollection();
if ($asParticipantOpen) {
foreach ($this->getOpenedParticipations()
foreach ($this->getAccompanyingPeriodParticipations()
->map(fn (AccompanyingPeriodParticipation $app) => $app->getAccompanyingPeriod())
as $period
) {