IcingaUserTable: fit other tables

This commit is contained in:
Thomas Gelf 2015-12-02 04:05:24 +01:00
parent b8f246b11d
commit 292a77dfc4

View File

@ -38,7 +38,7 @@ class IcingaUserTable extends QuickTable
); );
} }
public function getBaseQuery() public function getUnfilteredQuery()
{ {
$db = $this->connection()->getConnection(); $db = $this->connection()->getConnection();
$query = $db->select()->from( $query = $db->select()->from(
@ -52,4 +52,9 @@ class IcingaUserTable extends QuickTable
return $query; return $query;
} }
public function getBaseQuery()
{
return $this->getUnfilteredQuery()->where('u.object_type = ?', 'object');
}
} }