mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
Fixed hardcoded default columns
This commit is contained in:
parent
1c2142be27
commit
830b178e37
@ -114,7 +114,8 @@ abstract class AbstractQuery extends Query
|
||||
|
||||
protected function getDefaultColumns()
|
||||
{
|
||||
return $this->columnMap['hostgroups'];
|
||||
$table = array_shift(array_keys($this->columnMap));
|
||||
return array_keys($this->columnMap[$table]);
|
||||
}
|
||||
|
||||
protected function beforeCreatingCountQuery()
|
||||
|
Loading…
x
Reference in New Issue
Block a user