mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-30 01:04:12 +02:00
IcingaUserTable: fit other tables
This commit is contained in:
parent
b8f246b11d
commit
292a77dfc4
@ -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');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user