mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-09-28 20:29:20 +02:00
BUG CMS pages list view link targets (fixes #7589)
Previously broken in e7ecdf4b35
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) {
|
'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…
Reference in New Issue
Block a user