Closed (fixed)
Project:
Drupal core
Component:
taxonomy.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 May 2005 at 04:35 UTC
Updated:
8 Oct 2005 at 07:20 UTC
to duplicate: go to a taxonomy term page that has children with nodes attached to those children (/taxonomy/term/###)
The nodes attached to those children are currently not showing up.
line 969:
$tree = taxonomy_get_tree($term->vid, $tid, -1, $depth);
this line seems wrong to me -- i think $maxdepth (-1) and $depth are reversed here.
here is the function line:
function taxonomy_get_tree($vid, $parent = 0, $depth = -1, $max_depth = NULL)
i changed my taxonomy.module, line 969, to:
$tree = taxonomy_get_tree($term->vid, $tid, $depth);
Comments
Comment #1
Uwe Hermann commentedI don't think this is a bug. You can use
/taxonomy/term/###/allinstead of/taxonomy/term/###to show all nested sub-nodes or/taxonomy/term/###/3to limit the nesting depth to 3.(Note: I'm making an educated guess here, someone with more knowledge of taxonomy.module should probably have a look at this).
Please reopen if you still think there's a bug.
Comment #2
(not verified) commentedComment #3
(not verified) commentedComment #4
(not verified) commented