mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 05:44:24 +00:00
[export][person] fix alias name for person in CountPersonWithAccompanyingCourse export
This commit is contained in:
parent
753d6ea481
commit
7fe8d0837f
@ -95,10 +95,10 @@ class CountPersonWithAccompanyingCourse implements ExportInterface, GroupedExpor
|
||||
}
|
||||
|
||||
if (!in_array('partperson', $qb->getAllAliases(), true)) {
|
||||
$qb->join('acppart.person', 'partperson');
|
||||
$qb->join('acppart.person', 'person');
|
||||
}
|
||||
|
||||
$qb->select('COUNT(DISTINCT partperson.id) AS export_result');
|
||||
$qb->select('COUNT(DISTINCT person.id) AS export_result');
|
||||
|
||||
return $qb;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user