diff --git a/lib/Alchemy/Phrasea/Controller/Report/Root.php b/lib/Alchemy/Phrasea/Controller/Report/Root.php index 9d8c0a4bcc..2393fb91d0 100644 --- a/lib/Alchemy/Phrasea/Controller/Report/Root.php +++ b/lib/Alchemy/Phrasea/Controller/Report/Root.php @@ -184,6 +184,8 @@ class Root implements ControllerProviderInterface $cnx->setHasLimit(false); $cnx->setPrettyString(false); + $this->doReport($app, $request, $cnx, $conf); + try { $csv = \format::arr_to_csv($cnx->getResult(), $cnx->getDisplay()); } catch (\Exception $e) { @@ -249,6 +251,8 @@ class Root implements ControllerProviderInterface $questions->setHasLimit(false); $questions->setPrettyString(false); + $this->doReport($app, $request, $questions, $conf); + try { $csv = \format::arr_to_csv($questions->getResult(), $questions->getDisplay()); } catch (\Exception $e) { @@ -323,6 +327,8 @@ class Root implements ControllerProviderInterface $download->setHasLimit(false); $download->setPrettyString(false); + $this->doReport($app, $request, $download, $conf); + try { $csv = \format::arr_to_csv($download->getResult(), $download->getDisplay()); } catch (\Exception $e) { @@ -393,6 +399,8 @@ class Root implements ControllerProviderInterface $document->setHasLimit(false); $document->setPrettyString(false); + $this->doReport($app, $request, $document, $conf, 'record_id'); + try { $csv = \format::arr_to_csv($document->getResult(), $document->getDisplay()); } catch (\Exception $e) { diff --git a/templates/web/report/report_layout_child.html.twig b/templates/web/report/report_layout_child.html.twig index ba1f76045c..32dc434630 100644 --- a/templates/web/report/report_layout_child.html.twig +++ b/templates/web/report/report_layout_child.html.twig @@ -168,8 +168,8 @@
- - + +