Project:Vocabulary List
Version:master
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs work

Issue Summary

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

AttachmentSize
vocabulary_list.patch14.28 KB

Comments

#1

Status:needs review» needs work