? ? ? Failure

User tests: Successful: Unsuccessful:

avatar hans2103
hans2103
3 Jul 2017

Pull Request for missing feature

Summary of Changes

This Pull Request add the option to filter by tag.

  • When you create a menu item for Category Blog you can select both Category and Tag.
  • When you create the module mod_article_category you cannot filter by Tag.
    This pull request adds the ability to filter by tag too.

Testing Instructions

  • Have com_content items with tags
  • Create a module mod_article_category
    • assign to a visible module position
    • select category to filter the content
    • show X amount of items to display
    • select tag to filter... oh boy... there is no tag filter

apply patch

  • Refresh backend
  • Open created module
    • select tag to filter... yes... there is the option to filter by tag

Expected result

Before patch

  • Refresh frontend and notice X amount of items from a selected category.

After patch

  • Refresh frontend and notice X amount of items from a selected category and filtered by tag

Documentation Changes Required

Be sure you have content items with tags assigned to them.

avatar hans2103 hans2103 - open - 3 Jul 2017
avatar hans2103 hans2103 - change - 3 Jul 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 3 Jul 2017
Category Modules Front End
avatar allrude allrude - test_item - 3 Jul 2017 - Tested successfully
avatar allrude
allrude - comment - 3 Jul 2017

I have tested this item successfully on eadf35a

I tested this extra option successfully, nice to have this option, Thanks Hans


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/16945.

avatar franz-wohlkoenig franz-wohlkoenig - test_item - 3 Jul 2017 - Tested successfully
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 3 Jul 2017

I have tested this item successfully on eadf35a


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/16945.

avatar franz-wohlkoenig franz-wohlkoenig - change - 3 Jul 2017
Status Pending Ready to Commit
Easy No Yes
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 3 Jul 2017

RTC after two successful tests.

avatar brianteeman brianteeman - change - 3 Jul 2017
Labels Added: ?
avatar brianteeman
brianteeman - comment - 3 Jul 2017

I fixed the codestlye issues

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 3 Jul 2017

@brianteeman should we test again or set RTC?

avatar brianteeman
brianteeman - comment - 3 Jul 2017

it was only codestyle so one more test will be fine but it shouldnt have been set to rtc with those errors

avatar franz-wohlkoenig franz-wohlkoenig - test_item - 3 Jul 2017 - Tested successfully
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 3 Jul 2017

I have tested this item successfully on 839e617


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/16945.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 3 Jul 2017

RTC.

avatar infograf768 infograf768 - change - 6 Jul 2017
Milestone Added:
avatar rdeutz rdeutz - change - 6 Jul 2017
Milestone Added:
avatar rdeutz rdeutz - change - 6 Jul 2017
Milestone Removed:
avatar mbabker
mbabker - comment - 25 Jul 2017

This needs to be synced with staging before I can merge it. We added a state filter to stop loading tags in the modules with 008e5cd and that is going to conflict with this PR.

avatar hans2103
hans2103 - comment - 28 Jul 2017

@mbabker synched and ready to be tested again. Added php logic to conditional load tags or not. Depending if any tag is selected to filter.

avatar mbabker
mbabker - comment - 28 Jul 2017

Looks fine, if someone can do a quick test with the added logic in place we should be good to merge this.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 28 Jul 2017

will test now.

avatar franz-wohlkoenig franz-wohlkoenig - test_item - 28 Jul 2017 - Tested successfully
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 28 Jul 2017

I have tested this item successfully on d1017ad


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/16945.

avatar alikon alikon - test_item - 29 Jul 2017 - Tested successfully
avatar alikon
alikon - comment - 29 Jul 2017

I have tested this item successfully on d1017ad


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/16945.

avatar mbabker mbabker - change - 29 Jul 2017
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-07-29 14:59:33
Closed_By mbabker
avatar mbabker mbabker - close - 29 Jul 2017
avatar mbabker mbabker - merge - 29 Jul 2017
avatar pepperstreet
pepperstreet - comment - 10 Oct 2017

Hello, in the XML... shouldn't the tag-filter parameter get the "multiple" option?
Comparable to the improved Blog MenuItem parameter in this issue #18021 and PR #18234

avatar hans2103
hans2103 - comment - 10 Oct 2017

@pepperstreet please create a new pull request. This one has already been merged and closed.

Add a Comment

Login with GitHub to post a comment