-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[mod_articles_category] Option to group by tags #21083
[mod_articles_category] Option to group by tags #21083
Conversation
I have tested this item ✅ successfully on d04ede4 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/21083. |
@@ -88,6 +88,9 @@ | |||
case 'category_title' : | |||
$list = ModArticlesCategoryHelper::groupBy($list, $article_grouping, $article_grouping_direction); | |||
break; | |||
case 'tags': |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a space before :
@@ -88,6 +88,9 @@ | |||
case 'category_title' : | |||
$list = ModArticlesCategoryHelper::groupBy($list, $article_grouping, $article_grouping_direction); | |||
break; | |||
case 'tags' : | |||
$list = ModArticlesCategoryHelper::groupByTags($list, $article_grouping_direction); | |||
break; | |||
default: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add space before :
I have tested this item ✅ successfully on 1887d48 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/21083. |
1 similar comment
I have tested this item ✅ successfully on 1887d48 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/21083. |
Ready to Commit after two successful tests. |
Pull Request for Issue #18458 .
Summary of Changes
This adds an option to group articles by tags.
Testing Instructions
Create
Articles - Category
module. SetArticle Grouping
toTags
.Expected result
Articles grouped by tags. Articles without tags are placed in
Untagged
group.Documentation Changes Required
New option added.