News:

Support for jDownloads 3 has been ended
Since 17 August 2023 Joomla.org has discontinued support for Joomla 3.x. Therefore, we will no longer offer official support for our Joomla 3 jDownloads version 3.9.x from January 2024.
Please update your website to the latest Joomla version (Joomla 4 or Joomla 5) as soon as possible. Afterwards, please update jDownloads to the latest published version. The longer you delay, the more difficult the upgrade process for your website is likely to be.

Main Menu
Support-Forum

List All Categories (Default) bug

Started by mhoney, 31.12.2023 17:03:59

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mhoney

There seems to be a bug in the "List All Categories" component of 4.0.xx.  In 3.9.8.3 when you list all categories, it would properly count all the files in all sub-categories and display the total, but in 4.0.36 and 4.0.38 the total is from what I can tell a random number or sometimes 0.  Once you drill into a main category then it seems to count all files in subsequent categories correctly.  You can see a demonstration of this on my website here:

https://commodore.software/downloads

It seems that com_jdownloads/tmpl/category/default.php and /com_jdownloads/tmpl/categories/default.php are summing differently even though they appear to use the $countSubItems function identically.

  •  

Arno

Hi,
thanks for the hint.
There is obviously an error somewhere. I'll have a look at it in the next few days.  ;)
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •