diff --git a/library/Icinga/Web/Dashboard/Pane.php b/library/Icinga/Web/Dashboard/Pane.php index 98e679ba5..d41a62677 100644 --- a/library/Icinga/Web/Dashboard/Pane.php +++ b/library/Icinga/Web/Dashboard/Pane.php @@ -25,13 +25,6 @@ class Pane extends BaseDashboard implements Sortable, OverridingWidget const TABLE = 'dashboard'; - /** - * An array of @see Dashlet that are displayed in this pane - * - * @var array - */ - protected $dashlets = []; - /** * Whether this widget overrides another widget * @@ -184,7 +177,9 @@ class Pane extends BaseDashboard implements Sortable, OverridingWidget public function loadDashboardEntries($name = '') { - $dashlets = Model\Dashlet::on(Dashboard::getConn())->with('module_dashlet'); + $dashlets = Model\Dashlet::on(Dashboard::getConn()) + ->utilize('dashboard') + ->with('module_dashlet'); $dashlets->filter(Filter::equal('dashboard_id', $this->getUuid())); $this->setEntries([]);