FilterEditor: add helper rendering new filters

This commit is contained in:
Thomas Gelf 2014-11-15 23:37:31 +01:00
parent 711b1a5224
commit c700e86008
1 changed files with 13 additions and 0 deletions

View File

@ -285,6 +285,19 @@ class FilterEditor extends AbstractWidget
return $html;
}
protected function renderNewFilter()
{
$html = $this->selectColumn()
. $this->selectSign()
. $this->text();
return preg_replace(
'/ class="autosubmit"/',
'',
$html
);
}
protected function arrayForSelect($array)
{
$res = array();