For instance: I've narrowed this down to basically the same issue as filters:
In https://github.com/tsolucio/corebos/blob/master/modules/Reports/ReportColumns.php#L85, change that line to:
And the problem during column selection is solved. The custom field labels are displayed correctly. Though I feel the better solution would be if the translation tool (when you click on the hammer icon on the language line in the modules section) would provide a way to translate the custom field labels. Right now, the keys are found in the array in the language file, but the values are empty. That's why the problem occurs: the if statement checks if the key is set, which it is. But there's nothing in it and no easy way to put something in it.
During displaying of previously created reports, the same thing happens here:
https://github.com/tsolucio/corebos/blob/master/modules/Reports/SaveAndRun.php#L354
In https://github.com/tsolucio/corebos/blob/master/modules/Reports/ReportColumns.php#L85, change that line to:
PHP Code:
if(isset($mod_strings[$fieldlabel]) && $mod_strings[$fieldlabel] != "")
And the problem during column selection is solved. The custom field labels are displayed correctly. Though I feel the better solution would be if the translation tool (when you click on the hammer icon on the language line in the modules section) would provide a way to translate the custom field labels. Right now, the keys are found in the array in the language file, but the values are empty. That's why the problem occurs: the if statement checks if the key is set, which it is. But there's nothing in it and no easy way to put something in it.
During displaying of previously created reports, the same thing happens here:
https://github.com/tsolucio/corebos/blob/master/modules/Reports/SaveAndRun.php#L354