mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
Merge branch '3.8'
Conflicts: templates/web/report/report_layout_child.html.twig
This commit is contained in:
@@ -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) {
|
||||
|
@@ -168,8 +168,8 @@
|
||||
<label for="NOBESTOF-input">{{ "report:: questions sans reponses" | trans }}</label>
|
||||
</div>
|
||||
<div>
|
||||
<input name="tbl" type="radio" value="SITEACTIVITY" data-action="{{ path('report_activity_questions_nobestof') }}" id="SITEACTIVITY-input" class="formsubmiter" />
|
||||
<label for="SITEACTIVITY-input">{{ "report:: activite du site" | trans }}</label>
|
||||
<input name="tbl" type="radio" value="SITEACTIVITY" data-action="{{ path('report_activity_instance_hours') }}" id="SITEACTIVITY-input" class="formsubmiter" />
|
||||
<label for="SITEACTIVITY-input">{{{ "report:: activite du site" | trans }}</label>
|
||||
</div>
|
||||
<div>
|
||||
<input name="tbl" type="radio" value="WDOC" data-action="{{ path('report_activity_documents_pushed') }}" id="WDOC" class="formsubmiter" />
|
||||
|
Reference in New Issue
Block a user