? Pending

User tests: Successful: Unsuccessful:

avatar ggppdk
ggppdk
3 Oct 2017

Pull Request for Issue # .

Summary of Changes

The category manager has links to the published, unpublished, archived, trashed articles

The (max) level filter is wrong , it should be 1
thus limiting to the category itself, without including article in subcategories

Instead the (max) level filter is the level of the category

(The wrong) result is that
if category is at level e.g. 2 then we will include

  • articles of category
  • articles of sub-categories up to 2 levels

Testing Instructions

In categories manager, click on article manager links (on some non-top level category) , e.g. published articles
(Note only top-level categories have non-bogus links)

Expected result

Only articles of the category should be should be shown

Actual result

Articles in sub-categories are shown

Documentation Changes Required

None

Note: use J3.7.5 or J3.8.0 + PR #18179,

  • this because category filter + level filter is not working in J3.8.0,

thus this bug is hidden in J3.8.0

avatar joomla-cms-bot joomla-cms-bot - change - 3 Oct 2017
Category Administration com_categories
avatar ggppdk ggppdk - open - 3 Oct 2017
avatar ggppdk ggppdk - change - 3 Oct 2017
Status New Pending
avatar ggppdk ggppdk - change - 3 Oct 2017
The description was changed
avatar ggppdk ggppdk - edited - 3 Oct 2017
avatar ggppdk ggppdk - change - 3 Oct 2017
The description was changed
avatar ggppdk ggppdk - edited - 3 Oct 2017
avatar AlexRed
AlexRed - comment - 5 Oct 2017

in Joomla 3.8.1 i can confirm: Articles in sub-categories are NOT shown in article manager, the (max) level filter not work.

avatar infograf768
infograf768 - comment - 5 Oct 2017

I could not reproduce the issue when #18179 is used

avatar ggppdk
ggppdk - comment - 5 Oct 2017

The issue does has no effect in top level categories since their level is 1

in e.g. a category of level 3, click on published item links
look at the loaded URL

administrator/index.php?option=com_content&filter[category_id]=241&filter[published]=1&filter[level]=3

you see filter[level]=3
aka bug !!

the above means show me items in category no 241 and in sub-categories up to 3 level down
wrong !!

avatar infograf768 infograf768 - test_item - 5 Oct 2017 - Tested successfully
avatar infograf768
infograf768 - comment - 5 Oct 2017

I have tested this item successfully on f62f1d5

OOps, indeed. You are right.

Patch OK for me.


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

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 24 Oct 2017

Gueys i tried to test but didn't understand Instructions. Can someone give Screenshots using Sample Datas to show what to test exactly?

avatar ggppdk
ggppdk - comment - 24 Oct 2017

cat_items_link1
cat_items_link2
cat_items_link3

avatar franz-wohlkoenig franz-wohlkoenig - test_item - 24 Oct 2017 - Tested successfully
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 24 Oct 2017

I have tested this item successfully on f62f1d5


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

avatar franz-wohlkoenig franz-wohlkoenig - change - 24 Oct 2017
Status Pending Ready to Commit
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 24 Oct 2017

RTC after two successful tests.

avatar mbabker mbabker - change - 24 Oct 2017
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-10-24 21:27:15
Closed_By mbabker
Labels Added: ?
avatar mbabker mbabker - close - 24 Oct 2017
avatar mbabker mbabker - merge - 24 Oct 2017

Add a Comment

Login with GitHub to post a comment