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 |
Jump to:
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
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
Automatically closed -- issue fixed for 2 weeks with no activity.