mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-09-25 10:57:40 +02:00
filter: Make `DbQuery::applyFilterSql()' public
I want to use that function in a module :)
This commit is contained in:
parent
f188bf6b9c
commit
64d41ac5a3
@ -117,7 +117,7 @@ class DbQuery extends SimpleQuery
|
|||||||
return $select;
|
return $select;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function applyFilterSql($query)
|
public function applyFilterSql($query)
|
||||||
{
|
{
|
||||||
$where = $this->renderFilter($this->filter);
|
$where = $this->renderFilter($this->filter);
|
||||||
if ($where !== '') {
|
if ($where !== '') {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user