Actions
Bug #86336
closedsearch_result_labels setting ignored when executing System Action
Start date:
2018-09-20
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
When creating a SQL Query Action for example to export a CSV, the setting `Use formatted strings, labels and dates instead of original values for results` is correctly used in the Query Editor, but when executing the Action, it is ignored and always enabled.
In /typo3/sysext/sys_action/Classes/ActionTask.php
on line 814
$GLOBALS['SOBE']->MOD_SETTINGS['search_result_labels'] = 1;
should be
$GLOBALS['SOBE']->MOD_SETTINGS['search_result_labels'] = $sql_query['qC']['search_result_labels'];
Actions