Fix activity between dates filter: condition added for alias

This commit is contained in:
2025-01-16 15:19:38 +01:00
parent 573118e514
commit 1b831bc424
3 changed files with 10 additions and 3 deletions

View File

@@ -53,7 +53,7 @@ class SocialWorkExportController extends AbstractController
$socialIssues = $this->socialIssueRepository->findAll();
$socialIssues = array_map(fn($issue) => [
$socialIssues = array_map(fn ($issue) => [
'id' => $issue->getId(),
'title' => $this->socialIssueRender->renderString($issue, []),
'ordering' => $issue->getOrdering(),
@@ -106,7 +106,7 @@ class SocialWorkExportController extends AbstractController
$socialActions = $this->socialActionRepository->findAll();
$socialActions = array_map(fn($action) => [
$socialActions = array_map(fn ($action) => [
'id' => $action->getId(),
'title' => $this->socialActionRender->renderString($action, []),
'desactivationDate' => $action->getDesactivationDate(),