diff --git a/modules/mod_articles_category/helper.php b/modules/mod_articles_category/helper.php index dbae6b2ec2fee..0033c725bc874 100644 --- a/modules/mod_articles_category/helper.php +++ b/modules/mod_articles_category/helper.php @@ -51,7 +51,7 @@ public static function getList(&$params) $articles->setState('filter.published', 1); // This module does not use tags data - $articles->setState('load_tags', false); + $articles->setState('load_tags', $params->get('filter_tag', '') !== '' ? true : false); // Access filter $access = !JComponentHelper::getParams('com_content')->get('show_noauth'); @@ -195,6 +195,10 @@ public static function getList(&$params) } // New Parameters + if ($params->get('filter_tag', '')) + { + $articles->setState('filter.tag', $params->get('filter_tag', '')); + } $articles->setState('filter.featured', $params->get('show_front', 'show')); $articles->setState('filter.author_id', $params->get('created_by', '')); $articles->setState('filter.author_id.include', $params->get('author_filtering_type', 1)); diff --git a/modules/mod_articles_category/mod_articles_category.xml b/modules/mod_articles_category/mod_articles_category.xml index e00420f2024af..ef955d661f03e 100644 --- a/modules/mod_articles_category/mod_articles_category.xml +++ b/modules/mod_articles_category/mod_articles_category.xml @@ -78,7 +78,7 @@ @@ -127,6 +127,21 @@ default="1" /> + + + + + +