mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
Widget\FilterEditor: correct expression output
Filter expressions should be filled into form fields exactly as we expect them at parse time. fixes #6568
This commit is contained in:
parent
47b893e1ea
commit
b38bcfc19b
@ -157,7 +157,7 @@ class FilterEditor extends AbstractWidget
|
||||
}
|
||||
$value = $filter->getExpression();
|
||||
if (is_array($value)) {
|
||||
$value = implode('|', $value);
|
||||
$value = '(' . implode('|', $value) . ')';
|
||||
}
|
||||
$html .= $this->selectColumn($filter) . ' '
|
||||
. $this->selectSign($filter)
|
||||
|
Loading…
x
Reference in New Issue
Block a user