mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 08:14:03 +02:00
parent
802e18ac47
commit
064e821383
@ -333,10 +333,6 @@ class DbQuery extends SimpleQuery
|
|||||||
{
|
{
|
||||||
// TODO: there may be situations where we should clone the "select"
|
// TODO: there may be situations where we should clone the "select"
|
||||||
$count = $this->dbSelect();
|
$count = $this->dbSelect();
|
||||||
$group = $this->getGroup();
|
|
||||||
if ($group) {
|
|
||||||
$count->group($group);
|
|
||||||
}
|
|
||||||
$this->applyFilterSql($count);
|
$this->applyFilterSql($count);
|
||||||
if ($this->useSubqueryCount || $this->group) {
|
if ($this->useSubqueryCount || $this->group) {
|
||||||
$count->columns($this->columns);
|
$count->columns($this->columns);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user