Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Option labels not visible on filters select boxes
#9
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:

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
Reply


Messages In This Thread
RE: Option labels not visible on filters select boxes - Guido1982 - 07-03-2016, 11:39 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)