mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 09:05:53 +00:00
BUGFIX Fix Breadcrumbs in ReportAdmin
This commit is contained in:
parent
93f1696a66
commit
97482f8664
@ -110,6 +110,10 @@ class ReportAdmin extends LeftAndMain implements PermissionProvider {
|
||||
*/
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user