Fixed breadcrumbs in article list
authorMarcel Werk <burntime@woltlab.com>
Thu, 15 Dec 2016 16:38:09 +0000 (17:38 +0100)
committerMarcel Werk <burntime@woltlab.com>
Thu, 15 Dec 2016 16:38:16 +0000 (17:38 +0100)
com.woltlab.wcf/page.xml
wcfsetup/install/files/lib/page/AbstractArticlePage.class.php
wcfsetup/install/files/lib/page/CategoryArticleListPage.class.php

index 4d8168be2284663ad9ba9db95b050d7477fb432d..84aba0ffd5d546b41a18fb7c825e8402bef3147a 100644 (file)
                        <name language="en">List of Articles in Certain Category</name>
                        <options>module_article</options>
                        <parent>com.woltlab.wcf.ArticleList</parent>
-                       <hasFixedParent>1</hasFixedParent>
                        <requireObjectID>1</requireObjectID>
                </page>
                <page identifier="com.woltlab.wcf.Article">
index a9bcb3c4ab8b04a59935f83951b5350d764708d3..4ca7f73e5ea77dbee2dd5bf7e3852185fa282837 100644 (file)
@@ -157,7 +157,6 @@ abstract class AbstractArticlePage extends AbstractPage {
                foreach ($this->article->getCategory()->getParentCategories() as $parentCategory) {
                        PageLocationManager::getInstance()->addParentLocation('com.woltlab.wcf.CategoryArticleList', $parentCategory->categoryID, $parentCategory);
                }
-               PageLocationManager::getInstance()->addParentLocation('com.woltlab.wcf.ArticleList');
        }
        
        /**
index 136a5a8443942104bea0210010c480c0fd0ec4ba..09693565b0f4799f69e0b37c138b34237f08120c 100644 (file)
@@ -76,7 +76,6 @@ class CategoryArticleListPage extends ArticleListPage {
                foreach ($this->category->getParentCategories() as $parentCategory) {
                        PageLocationManager::getInstance()->addParentLocation('com.woltlab.wcf.CategoryArticleList', $parentCategory->categoryID, $parentCategory);
                }
-               PageLocationManager::getInstance()->addParentLocation('com.woltlab.wcf.ArticleList');
        }
        
        /**