Closed (outdated)
Project:
Drupal core
Version:
6.x-dev
Component:
taxonomy.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
11 Feb 2009 at 14:16 UTC
Updated:
2 Mar 2016 at 22:18 UTC
Jump to comment: Most recent
Comments
Comment #1
sdrycroft commentedI should add that the Image gallery is not using the 2M term vocabulary, but is instead using a single term vocabulary.
Comment #2
catchThis was refactored in #144969: taxonomy_term_count_nodes returns wrong count (+ tests) which is waiting for a backport. Does image.module call _taxonomy_term_children() directly or use taxonomy_term_count_nodes()
Comment #3
sdrycroft commentedIt uses taxonomy_term_count_nodes.
Comment #4
catchWould you mind testing the latest patch on #144969: taxonomy_term_count_nodes returns wrong count (+ tests) to see if it helps? That's more likely to get committed since it's pretty much the same as the code in HEAD now - but it's not used in core, and we didn't test it on large datasets, just made sure the counts were right.
Comment #5
gábor hojtsy@catch: not sure how is taxonomy_term_count_nodes() related to taxonomy_term_children()? Looks like this independent improvement would be useful for D7 and then backported to D6.
Comment #7
catchhttp://api.drupal.org/api/function/_taxonomy_term_children/6
Does not exist in Drupal 7, because it existed only as a helper function for taxonomy_term_count_nodes() which was refactored, then itself removed from D7.