Skip to content

Commit

Permalink
[Admin] Fix adherent zones export (#11537)
Browse files Browse the repository at this point in the history
Co-authored-by: Rémi <[email protected]>
  • Loading branch information
Remg and Rémi authored Feb 28, 2025
1 parent c6471d6 commit 6dcc4ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Admin/AbstractAdherentAdmin.php
Original file line number Diff line number Diff line change
Expand Up @@ -1058,10 +1058,10 @@ protected function configureExportFields(): array
}, $adherent->getZonesOfType(Zone::DISTRICT))),
'Département' => implode(', ', array_map(function (Zone $zone): string {
return $zone->getCode().' - '.$zone->getName();
}, $adherent->getZonesOfType(Zone::DEPARTMENT))),
}, $adherent->getParentZonesOfType(Zone::DEPARTMENT))),
'Région' => implode(', ', array_map(function (Zone $zone): string {
return $zone->getCode().' - '.$zone->getName();
}, $adherent->getZonesOfType(Zone::REGION))),
}, $adherent->getParentZonesOfType(Zone::REGION))),
'Rôles' => implode(', ', array_map(function (AdherentZoneBasedRole $role): string {
return \sprintf(
'%s [%s]',
Expand Down

0 comments on commit 6dcc4ca

Please sign in to comment.