Index: includes/views/content.views.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/cck/includes/views/Attic/content.views.inc,v
retrieving revision 1.1.2.26
diff -u -p -r1.1.2.26 content.views.inc
--- includes/views/content.views.inc	14 Jul 2009 22:17:05 -0000	1.1.2.26
+++ includes/views/content.views.inc	23 Oct 2009 16:43:56 -0000
@@ -244,6 +244,21 @@ function content_views_field_views_data(
           break;
       }
     }
+    
+    $data['vid'] = array(
+      'group' => t('Content'),
+      'title' => $field['field_name'],
+      'help' => t('Join the @name fields to the Node table', array('@name' => $field['field_name'])),
+      'relationship' => array(
+        'handler' => 'views_handler_relationship',
+        'base' => $table_alias,
+        'base field' => 'vid',
+        'relationship table' => 'node',
+        'relationship field' => 'vid',
+        'label' => $field['field_name'],
+        'base' => $db_info['table'],
+      ),
+    );
 
     // Provide automatic filters, sorts, and arguments for each column, not just the first.
     $db_fields_count = count($db_fields);