Attached is a patch that upgrades vocabulary_list to work in Drupal 4.6. I simply made the same changes to the functions that were made in the 4.6 version of the taxonomy.module. I also found the issue with the vocabulary page showing nodes from the taxonomy term with the same id even when it was in another vocabulary. If you are using 4.5 make the following change in the _vocabulary_select_nodes to fix this issue:

$descendant_tids[] = array_merge(array($vid), array_map('_taxonomy_get_tid_from_term', $tree));
/* change to */
$descendant_tids[] = array_map('_taxonomy_get_tid_from_term', $tree);

This removes the vocabulary id from the list of taxonomy ids to display.

Thanks

JJ

CommentFileSizeAuthor
vocabulary_list.patch14.28 KBjdmquin

Comments

pfaocle’s picture

Status: Needs review » Needs work
avpaderno’s picture

Issue summary: View changes
Status: Needs work » Closed (outdated)

I am closing this issue, since it has been opened for a project version no longer supported. I apologize for bumping this issue.