diff --git a/code/controllers/AssetAdmin.php b/code/controllers/AssetAdmin.php index aafb23a1..243de432 100644 --- a/code/controllers/AssetAdmin.php +++ b/code/controllers/AssetAdmin.php @@ -476,6 +476,18 @@ JS return array_diff($allThumbnails, $usedThumbnails); } + + /** + * @return ArrayList + */ + public function Breadcrumbs($unlinked = false) { + $items = parent::Breadcrumbs($unlinked); + + // The root element should explicitly point to the root node + $items[0]->Link = Controller::join_links($this->Link('show'), 'root'); + + return $items; + } } /**