[FEATURE] Show pid field in sys_action task 80/20980/5
authorPhilipp Kitzberger <philipp@cron-it.de>
Wed, 22 May 2013 16:46:13 +0000 (18:46 +0200)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Fri, 12 Dec 2014 19:13:03 +0000 (20:13 +0100)
All explicitly defined fields of a sql task are now being rendered.

Resolves: #44287
Releases: master
Change-Id: Ie1e57e55ec440aecbe5a526cefc489adef606fec
Reviewed-on: http://review.typo3.org/20980
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/sys_action/Classes/ActionTask.php

index 975914d..02af33c 100644 (file)
@@ -700,6 +700,7 @@ class ActionTask implements \TYPO3\CMS\Taskcenter\TaskInterface {
                                                $fullsearch->formW = 48;
                                                // Additional configuration
                                                $GLOBALS['SOBE']->MOD_SETTINGS['search_result_labels'] = 1;
+                                               $GLOBALS['SOBE']->MOD_SETTINGS['queryFields'] = $sql_query['qC']['queryFields'];
                                                $cP = $fullsearch->getQueryResultCode($type, $res, $sql_query['qC']['queryTable']);
                                                $actionContent = $cP['content'];
                                                // If the result is rendered as csv or xml, show a download link