Issue Bug Closed

#86336search_result_labels setting ignored when executing System Action

Sascha Löffler 09/20/18, 18:55 updated 09/28/18, 12:24

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'];

Reviews 1