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:
Thomas Gelf 2014-06-24 21:00:01 +02:00
parent 47b893e1ea
commit b38bcfc19b
1 changed files with 1 additions and 1 deletions

View File

@ -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)