somewhere in function _taxonomy_menu_item there should perhaps be something like this:

	if ($num == 0) {
		$terms=_taxonomy_term_children($item['tid']);
		out($terms);
		foreach ($terms as $tid) {
			$num=$num+taxonomy_term_count_nodes($tid);
		}
	}

this way, the parent terms menu items of a hierachy will have a number that is the sum of the count of the children instead of (0) as is now, of course the above code is quick and dirty, but you get the point. This is especially important when used in conjunction with nice_menus.

Comments

johnv’s picture

Status: Active » Closed (duplicate)
johnv’s picture

Issue summary: View changes

log