No Code Attached Yet bug
avatar 1inkin
1inkin
18 Nov 2021

Steps to reproduce the issue

  1. Create Tags items for example 1 and 2
  2. Create root Category and several subcategories
  3. Create several Articles in each Category and assign them one Tags item (1 or 2)
  4. Create a Menu item with Menu Item Type = Category Blog (or Category List), Choose a Category = root Category and Tags = 1
  5. Open this Menu in front

Expected result

  • only subcategories are displayed in which the Articles with Tag 1
  • empty subcategories are not displayed that do not contain Articles with Tag 1
  • correct count of Articles is displayed in the category (only with Tag 1)

Actual result

  • all subcategories are displayed, even if there are no Articles with Tag 1 (empty subcategories in this case)
  • incorrect count of Articles is displayed in the category (all Artcles, even if there are Articles without Tag 1)

System information (as much as possible)

Additional comments

Votes

# of Users Experiencing Issue
1/1
Average Importance Score
5.00

avatar 1inkin 1inkin - open - 18 Nov 2021
avatar 1inkin 1inkin - change - 18 Nov 2021
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 18 Nov 2021
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 18 Nov 2021
avatar chmst
chmst - comment - 14 May 2022

Sorry for this later reply! Was your issue for Joomla 3 or Joomla4? Meanwhile there were so many fixes that your issue could be already resolved. So please let us know which version.

avatar chmst chmst - change - 14 May 2022
Labels Added: Information Required
avatar chmst chmst - labeled - 14 May 2022
avatar 1inkin
1inkin - comment - 18 May 2022

Joomla 4.1.3
the problem is still relevant


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

avatar 1inkin
1inkin - comment - 19 May 2022

screenshots for clarity
screen shot 2022-05-19 at 05 40 50screen shot 2022-05-19 at 05 40 52screen shot 2022-05-19 at 05 40 52screen shot 2022-05-19 at 05 40 52screen shot 2022-05-19 at 05 40 52


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

avatar Quy Quy - change - 4 Jun 2022
Labels Removed: Information Required
avatar Quy Quy - unlabeled - 4 Jun 2022
avatar 1inkin
1inkin - comment - 14 Jun 2022

Joomla 4.1.4
the problem is still relevant


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

avatar brianteeman
brianteeman - comment - 15 Jun 2022

I've looked into this and the problem is that the count takes place on a query before the query with the filter. It will require quite a major rewrite to change that. Chosing not to display the article count will help to reduce the problem (at least until there are 0 articles with the matching tag).

avatar 1inkin
1inkin - comment - 15 Jun 2022

i hope this will be fixed soon. on my site, this causes a serious inconvenience, as many empty categories are displayed in different sections of the site


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

avatar 1inkin
1inkin - comment - 28 Jul 2022

Joomla 4.2 RC1
the problem is still relevant


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

avatar Hackwar Hackwar - change - 22 Feb 2023
Labels Added: bug
avatar Hackwar Hackwar - labeled - 22 Feb 2023
avatar Quy Quy - change - 18 Jul 2023
Status New Closed
Closed_Date 0000-00-00 00:00:00 2023-07-18 15:33:47
Closed_By Quy
avatar Quy Quy - close - 18 Jul 2023
avatar Quy
Quy - comment - 18 Jul 2023

Closing as duplicate of #38765,

Add a Comment

Login with GitHub to post a comment