IcingaServiceForm: strip table limit for enum

fixes #2481
This commit is contained in:
Thomas Gelf 2022-03-17 14:23:15 +01:00
parent 0706bd09d4
commit f64822c409
2 changed files with 2 additions and 1 deletions

View File

@ -713,7 +713,7 @@ class IcingaServiceForm extends DirectorObjectForm
$table->setBranchUuid($this->branch->getUuid());
}
$result = [];
foreach ($db->fetchAll($table->getQuery()) as $row) {
foreach ($db->fetchAll($table->getQuery()->reset(\Zend_Db_Select::LIMIT_COUNT)) as $row) {
$result[$row->object_name] = $row->object_name;
}

View File

@ -13,6 +13,7 @@ next (will be 1.9.1)
### User Interface
* FIX: DataList-backed fields failed to validate (#2475)
* FIX: No Host list limit when adding a single service globally (#2481)
### DB Schema
* FIX: applying DB Schema migrations failed on PostgreSQL (#2482)