Skip to content

Commit

Permalink
fix(core/criteria): correct response for criteria update (ems-project…
Browse files Browse the repository at this point in the history
  • Loading branch information
Davidmattei authored Sep 25, 2023
1 parent 7c4dc38 commit 741b73f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion EMS/core-bundle/src/Controller/Views/CriteriaController.php
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,9 @@ public function align(View $view, Request $request): Response
\sleep(2);
$this->elasticaService->getClusterHealth('green', '20s');

return $this->forward('EMS\CoreBundle\Controller\Views\CriteriaController:generateCriteriaTable', ['view' => $view]);
return $this->forward('EMS\CoreBundle\Controller\Views\CriteriaController:generateCriteriaTableAction', [
'view' => $view,
]);
}

private function isAuthorized(FieldType $criteriaField, AuthorizationCheckerInterface $security): bool
Expand Down

0 comments on commit 741b73f

Please sign in to comment.