Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

BUGFIX Fix Breadcrumbs in ReportAdmin

  • Loading branch information...
commit 97482f866477a3f09f2eb5241b5894887c6c94e4 1 parent 93f1696
@ajoneil ajoneil authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 code/controllers/ReportAdmin.php
View
4 code/controllers/ReportAdmin.php
@@ -110,6 +110,10 @@ public static function has_reports() {
*/
public function Breadcrumbs() {
$items = parent::Breadcrumbs();
+
+ // The root element should explicitly point to the root node.
+ // Uses session state for current record otherwise.
+ $items[0]->Link = singleton('ReportAdmin')->Link();
if ($this->reportObject) {
//build breadcrumb trail to the current report
Please sign in to comment.
Something went wrong with that request. Please try again.