exports: add new modifiers declarations to split filter/aggregators between activities linked to person <> acp

This commit is contained in:
2022-08-17 14:18:39 +02:00
parent df9a5071c7
commit c09c7a9615
15 changed files with 24 additions and 13 deletions

View File

@@ -71,9 +71,9 @@ class CountActivity implements ExportInterface, GroupedExportInterface
return 'Count activities linked to a person';
}
public function getType()
public function getType(): string
{
return 'activity';
return Declarations::ACTIVITY;
}
public function initiateQuery(array $requiredModifiers, array $acl, array $data = [])
@@ -102,6 +102,7 @@ class CountActivity implements ExportInterface, GroupedExportInterface
{
return [
Declarations::ACTIVITY,
Declarations::ACTIVITY_PERSON,
//PersonDeclarations::PERSON_TYPE,
];
}