Skip to content

Commit

Permalink
DashboardPane: Fix that ordering dashlets is persistent
Browse files Browse the repository at this point in the history
  • Loading branch information
Johannes Meyer committed Oct 1, 2015
1 parent b63a956 commit 8c8af9c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion library/Icinga/Web/Navigation/DashboardPane.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ public function getDashlets($ordered = true)
}

if ($ordered) {
ksort($this->dashlets);
$dashlets = $this->dashlets;
ksort($dashlets);
return $dashlets;
}

return $this->dashlets;
Expand Down

0 comments on commit 8c8af9c

Please sign in to comment.