Hierarchical terms have inaccurate node counts.

Arancaytar - January 15, 2008 - 16:38
Project:SiteMenu
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

My term hierarchy looks like this, and uses dynamic selects to ensure that people will select both a parent term and a child term:

* A
** A1
** A2
* B
** B1
** B2

Now I have 4 nodes tagged A and A1, 2 nodes tagged A and A2. What sitemenu should therefore display is:

* A (6)
** A1 (4)
** A2 (2)
* B
** B1
** B2

What it displays in fact is:

* A (12)
** A1 (4)
** A2 (2)
* B
** B1
** B2

I guess it inaccurately counts child terms twice.

#1

aharown07 - November 28, 2008 - 03:30

Any workarounds or fixes in works for this one? I'd like to use this mod w/a fairly complex term hierarchy tree with a whole lot of nodes (haven't imported yet).

 
 

Drupal is a registered trademark of Dries Buytaert.