mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-30 17:24:18 +02:00
QuickTable: strip sort when couting, fixes pgsql
This commit is contained in:
parent
60f9493862
commit
7f0673d18c
@ -164,7 +164,7 @@ abstract class QuickTable implements Paginatable
|
|||||||
{
|
{
|
||||||
$db = $this->connection()->getConnection();
|
$db = $this->connection()->getConnection();
|
||||||
|
|
||||||
return $db->fetchOne($this->getBaseQuery()->columns(array('COUNT(*)')));
|
return $db->fetchOne($this->getBaseQuery()->reset('order')->columns(array('COUNT(*)')));
|
||||||
}
|
}
|
||||||
|
|
||||||
public function limit($count = null, $offset = null)
|
public function limit($count = null, $offset = null)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user