Fix: fix the loading of pickCenterType when no regroupments exists and

defaults of SocialWorkTypeFilter
This commit is contained in:
2023-06-23 13:04:13 +02:00
parent 9073f118db
commit 9978b6a6e4
3 changed files with 9 additions and 24 deletions

View File

@@ -113,7 +113,7 @@ class SocialWorkTypeFilter implements FilterInterface
public function getFormDefaultData(): array
{
return ['action_type' => '', 'goal' => '', 'result' => ''];
return ['action_type' => [], 'goal' => [], 'result' => []];
}
public function describeAction($data, $format = 'string'): array