Problem with category_category_count_nodes()

mickyw - September 5, 2006 - 17:39
Project:Category
Version:HEAD
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

If I'm correct, this should be replacement for taxonomy_term_count_nodes() function (that's how it is included inside taxonomy wrapper module).
However the original taxonomy function is build as recursive one, and counts all sub-terms. That should be, in my opinion, also a case with category_category_count_nodes(). Unfortunately present form doesn't count sub-categories but only direct descendants.
This is easy to notice using image_gallery module (part of image module packet), where image galleries which include sub-galleries show "0 images in this category".

#1

JirkaRybka - August 22, 2009 - 19:48
Status:active» fixed

I assume this is fixed, because the 6.x code clearly DOES count children (recursively). So this was obviusly fixed, only the issue status didn't get upated.

#2

System Message - September 5, 2009 - 19:50
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.