diff --git a/application/tables/IcingaHostTable.php b/application/tables/IcingaHostTable.php index 59cfb520..799d4ddf 100644 --- a/application/tables/IcingaHostTable.php +++ b/application/tables/IcingaHostTable.php @@ -73,6 +73,7 @@ class IcingaHostTable extends IcingaObjectTable $db = $this->connection()->getConnection(); $sub = clone($this->getBaseQuery()); $sub->columns($this->getColumns()); + $this->applyFiltersToQuery($sub); $query = $db->select()->from( array('sub' => $sub), 'COUNT(*)'