[activity][export]: Fixed: rename the alias for accompanying period, to

be suitable for usage with acp filters
This commit is contained in:
2022-09-21 12:08:00 +02:00
parent 683717e572
commit 8b64933565
8 changed files with 9 additions and 9 deletions

View File

@@ -86,8 +86,8 @@ class CountActivity implements ExportInterface, GroupedExportInterface
$qb = $this->activityRepository->createQueryBuilder('activity');
if (!in_array('actperson', $qb->getAllAliases(), true)) {
$qb->join('activity.person', 'actperson');
if (!in_array('person', $qb->getAllAliases(), true)) {
$qb->join('activity.person', 'person');
}
$qb->select('COUNT(activity.id) as export_count_activity');