Index: data_taxonomy.views.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/data/data_taxonomy/views/Attic/data_taxonomy.views.inc,v
retrieving revision 1.1.2.4
diff -u -r1.1.2.4 data_taxonomy.views.inc
--- data_taxonomy/data_taxonomy.views.inc	21 Jan 2010 22:39:22 -0000	1.1.2.4
+++ data_taxonomy/data_taxonomy.views.inc	17 Aug 2010 15:58:36 -0000
@@ -59,12 +59,14 @@
         'left_field' => $meta['data_taxonomy']['id'],
         'field' => 'id',
       );
-      $data[$table->get('name')][$meta['data_taxonomy']['id']]['relationship'] = array(
+      // don't want to overwrite any other relationships this might have...
+      $data[$table->get('name')]["data_taxonomy_". $meta['data_taxonomy']['id']]['relationship'] = array(
         'title' => t('Term tid.'),
         'help' => t('Relate a data record to a term tid.'),
         'label' => t('Relate a data record to a term tid.'),
         'base' => 'data_taxonomy',
         'base field' => 'id',
+        'relationship field' => $meta['data_taxonomy']['id'],
       );
       $data[$table->get('name')]['data_taxonomy_form'] = array(
         'field' => array(
@@ -82,6 +84,8 @@
  * Implementation of hook_views_data_alter().
  */
 function data_taxonomy_views_data_alter(&$data) {
+  // so that the node table fields/filters/etc can be used when listing terms as base table
+  // @TODO this really doesn't belong here
   $data['node']['table']['join']['term_node'] = array(
     'left_table' => 'term_node',
     'left_field' => 'nid',
