diff --git a/module/VuFind/src/VuFind/RecordTab/HierarchyTree.php b/module/VuFind/src/VuFind/RecordTab/HierarchyTree.php index ec17018ba3dbe20dc1e223dc0977e7614d2baa29..dff411f10e7079ef59710ac44303ca63b7d9fda9 100644 --- a/module/VuFind/src/VuFind/RecordTab/HierarchyTree.php +++ b/module/VuFind/src/VuFind/RecordTab/HierarchyTree.php @@ -128,7 +128,7 @@ class HierarchyTree extends AbstractBase * * @return bool */ - public function getFullHierarchySetting() + public function isFullHierarchyVisible() { // Get hierarchy driver: $recordDriver = $this->getRecordDriver(); diff --git a/themes/blueprint/templates/RecordTab/hierarchytree.phtml b/themes/blueprint/templates/RecordTab/hierarchytree.phtml index 14bc5af44f39f12a9cdfb47667479a7ee8964016..9e4d4279b9d902b4f167fd1820e276b46350c906 100644 --- a/themes/blueprint/templates/RecordTab/hierarchytree.phtml +++ b/themes/blueprint/templates/RecordTab/hierarchytree.phtml @@ -8,7 +8,7 @@ \Zend\View\Helper\HeadScript::SCRIPT, "var hierarchySettings = {\n" . " lightboxMode: " . ($this->layout()->getTemplate() == 'layout/lightbox' ? 'true' : 'false') . ",\n" - . " fullHierarchy: " . ($this->tab->getFullHierarchySetting() ? 'true' : 'false') . "\n" + . " fullHierarchy: " . ($this->tab->isFullHierarchyVisible() ? 'true' : 'false') . "\n" . "};\n" . "vufindString.showTree = \"" . $this->transEsc('hierarchy_show_tree') . "\";\n" . "vufindString.hideTree = \"" . $this->transEsc('hierarchy_hide_tree') . "\";\n"