Index: content_taxonomy.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/content_taxonomy/content_taxonomy.module,v
retrieving revision 1.2.2.15
diff -u -p -r1.2.2.15 content_taxonomy.module
--- content_taxonomy.module	29 Jan 2008 17:55:29 -0000	1.2.2.15
+++ content_taxonomy.module	14 May 2008 14:38:01 -0000
@@ -184,6 +184,16 @@ function content_taxonomy_field_formatte
     return '';
   }
   
+  // limit displayed terms to field vocabulary id
+  if ($field['vid']) {
+    $filtered_items = array();
+    foreach ($item as $key => $term)
+      if ($term->vid == $field['vid']) {
+        $filtered_items[$key] = $term;
+      }
+    $item = $filtered_items;
+  }
+
   if ($formatter == 'link') {
     foreach ($item as $key => $term) {
       if (!is_object($term) && $key == 'value' && is_numeric($term) && $term != 0) {
