If we have a term with the counter to 0 and that have terms children, the tree is broken and does not correspond with reality.
Example real taxonomy tree:
+ Parent Term 1 (>0)
+ Parent Term 2 (0)
|--- SubTerm 2.1 (>0)
|--- SubTerm 2.2 (>0)
Result with site map:
+ Parent Term 1 (>0)
|--- SubTerm 2.1 (>0)
|--- SubTerm 2.2 (>0)
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | site_map-taxonomy-hierarchy-count-1348022-6-D7.patch | 2.41 KB | tomyinhauser |
Comments
Comment #1
darrell_ulm commentedYep, I agree, this does not work for taxonomy trees. The taxonomy tag depth is not correct.
Looking into it, and accepting patches of course.
Comment #2
darrell_ulm commentedChanged to active until there is a patch.
Comment #3
darrell_ulm commentedThis is a duplicate of http://drupal.org/node/1593556 and referring to the new one because it is part of a larger issue of the category depth not working in more than just this case.
Comment #4
tomyinhauser commentedThe related issue does NOT solve this problem.
Comment #5
tomyinhauser commentedThe attached patch considers the content count in the whole hierarchy to filter the taxonomy terms.
Comment #8
tomyinhauser commentedComment #9
tomyinhauser commented