mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-14 17:34:28 +02:00
FilterEditor: add helper rendering new filters
This commit is contained in:
parent
711b1a5224
commit
c700e86008
@ -285,6 +285,19 @@ class FilterEditor extends AbstractWidget
|
|||||||
return $html;
|
return $html;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected function renderNewFilter()
|
||||||
|
{
|
||||||
|
$html = $this->selectColumn()
|
||||||
|
. $this->selectSign()
|
||||||
|
. $this->text();
|
||||||
|
|
||||||
|
return preg_replace(
|
||||||
|
'/ class="autosubmit"/',
|
||||||
|
'',
|
||||||
|
$html
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
protected function arrayForSelect($array)
|
protected function arrayForSelect($array)
|
||||||
{
|
{
|
||||||
$res = array();
|
$res = array();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user