mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 09:05:53 +00:00
BUG CMS pages list view link targets (fixes #7589)
Previously broken in e7ecdf4b350
This commit is contained in:
parent
c1aad0d0c0
commit
d77c43d6c7
@ -715,7 +715,7 @@ class CMSMain extends LeftAndMain implements CurrentPageIdentifier, PermissionPr
|
||||
}
|
||||
},
|
||||
'getTreeTitle' => function($value, &$item) use($controller) {
|
||||
return '<a class="cms-panel-link" href="' . $controller->Link('show') . '/' . $item->ID . '">' . $item->TreeTitle . '</a>';
|
||||
return '<a class="cms-panel-link" href="' . singleton('CMSPageEditController')->Link('show') . '/' . $item->ID . '">' . $item->TreeTitle . '</a>';
|
||||
}
|
||||
));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user