Fix option search result link anchors
authorMatthias Schmidt <gravatronics@live.com>
Sun, 6 Nov 2016 17:38:00 +0000 (18:38 +0100)
committerMatthias Schmidt <gravatronics@live.com>
Sun, 6 Nov 2016 17:38:00 +0000 (18:38 +0100)
wcfsetup/install/files/lib/system/search/acp/OptionACPSearchResultProvider.class.php

index 5a83e497c87be41ba0fc1a0841e0d78c4e60e531..25d9c46d9092bf54ea5616b5d26297b35aecdd92 100644 (file)
@@ -85,7 +85,7 @@ class OptionACPSearchResultProvider extends AbstractCategorizedACPSearchResultPr
                        
                        $link = LinkHandler::getInstance()->getLink('Option', [
                                'id' => $this->getCategoryID($this->getTopCategory($option->categoryName)->parentCategoryName)
-                       ], 'optionName='.$option->optionName.'#'.$this->getCategoryName($option->categoryName));
+                       ], 'optionName='.$option->optionName.'#category_'.$this->getCategoryName($option->categoryName));
                        $categoryName = $option->categoryName;
                        $parentCategories = [];
                        while (isset($optionCategories[$categoryName])) {