Page 1 of 1

counting files in subcategories

Posted: 05 Mar 2014, 12:45
by knalim
Hi,

I have category/subcategory and subsubcategory. In subcategory X there is written number of files X (0), but in sub-subcatogories there are several files XY (9) and XZ (3) which I can see there. Would it be possible to count those files and to show real number of files in subcategory. Inspite of (0) to show there (12)?

Thank you very much!

Milan

Re: counting files in subcategories

Posted: 07 Mar 2014, 02:36
by Jan
Hi, see similar posts in this forum, such needs to be customized with some recursive function - to go through all the categories and count files step by step (can take a lot of memory)

For now there is display real count of file in the category, not count of the files in category and its subcategories.

Jan

Re: counting files in subcategories

Posted: 09 Mar 2014, 16:38
by knalim
thank you Jan,

I found answer here and it works!

viewtopic.php?f=31&t=17207