mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 13:24:25 +00:00
[export][person] fix alias name for person in CountPersonWithAccompanyingCourse export
This commit is contained in:
parent
6cdb3033db
commit
75713af0e0
@ -95,10 +95,10 @@ class CountPersonWithAccompanyingCourse implements ExportInterface, GroupedExpor
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!in_array('partperson', $qb->getAllAliases(), true)) {
|
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;
|
return $qb;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user