FilterEditor: Uppercase all words for non labelled filter columns
refs #9029
This commit is contained in:
parent
9faea7c883
commit
97245c5166
|
@ -512,7 +512,7 @@ class FilterEditor extends AbstractWidget
|
|||
$res = array();
|
||||
foreach ($array as $k => $v) {
|
||||
if (is_int($k)) {
|
||||
$res[$v] = str_replace('_', ' ', ucfirst($v));
|
||||
$res[$v] = ucwords(str_replace('_', ' ', $v));
|
||||
} elseif ($flip) {
|
||||
$res[$v] = $k;
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue