mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-20 20:34:25 +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();
|
$value = $filter->getExpression();
|
||||||
if (is_array($value)) {
|
if (is_array($value)) {
|
||||||
$value = implode('|', $value);
|
$value = '(' . implode('|', $value) . ')';
|
||||||
}
|
}
|
||||||
$html .= $this->selectColumn($filter) . ' '
|
$html .= $this->selectColumn($filter) . ' '
|
||||||
. $this->selectSign($filter)
|
. $this->selectSign($filter)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user