diff --git a/library/Director/Web/Controller/ObjectsController.php b/library/Director/Web/Controller/ObjectsController.php index ec868a82..faf63ea8 100644 --- a/library/Director/Web/Controller/ObjectsController.php +++ b/library/Director/Web/Controller/ObjectsController.php @@ -69,7 +69,7 @@ abstract class ObjectsController extends ActionController && $host = $this->params->get('host') ) { $host = IcingaHost::load($host, $this->db()); - $table->getQuery()->where('host_id = ?', $host->get('id')); + $table->getQuery()->where('o.host_id = ?', $host->get('id')); } if ($request->getActionName() === 'templates') {