Skip to content

[mod_articles_category] Option to group by tags#21083

Merged
mbabker merged 2 commits intojoomla:3.9-devfrom
SharkyKZ:modArticlesCategoryGroupTags
Jul 16, 2018
Merged

[mod_articles_category] Option to group by tags#21083
mbabker merged 2 commits intojoomla:3.9-devfrom
SharkyKZ:modArticlesCategoryGroupTags

Conversation

@SharkyKZ
Copy link
Copy Markdown
Contributor

@SharkyKZ SharkyKZ commented Jul 12, 2018

Pull Request for Issue #18458 .

Summary of Changes

This adds an option to group articles by tags.

Testing Instructions

Create Articles - Category module. Set Article Grouping to Tags.

Expected result

Articles grouped by tags. Articles without tags are placed in Untagged group.

Documentation Changes Required

New option added.

@joomla-cms-bot joomla-cms-bot added Language Change This is for Translators PR-3.9-dev labels Jul 12, 2018
@ghost
Copy link
Copy Markdown

ghost commented Jul 12, 2018

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.

case 'category_title' :
$list = ModArticlesCategoryHelper::groupBy($list, $article_grouping, $article_grouping_direction);
break;
case 'tags':
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a space before :

case 'tags' :
$list = ModArticlesCategoryHelper::groupByTags($list, $article_grouping_direction);
break;
default:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add space before :

@Quy
Copy link
Copy Markdown
Contributor

Quy commented Jul 13, 2018

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
@ghost
Copy link
Copy Markdown

ghost commented Jul 13, 2018

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.

@joomla-cms-bot joomla-cms-bot added the RTC This Pull Request is Ready To Commit label Jul 13, 2018
@ghost
Copy link
Copy Markdown

ghost commented Jul 13, 2018

Ready to Commit after two successful tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Language Change This is for Translators

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants