? views_base_field_3x.patch Index: handlers/views_handler_relationship.inc =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/views/handlers/views_handler_relationship.inc,v retrieving revision 1.4.4.1 diff -u -p -r1.4.4.1 views_handler_relationship.inc --- handlers/views_handler_relationship.inc 2 Nov 2009 22:01:25 -0000 1.4.4.1 +++ handlers/views_handler_relationship.inc 3 Nov 2009 00:52:38 -0000 @@ -23,11 +23,11 @@ * - base: The new base table this relationship will be adding. This does not * have to be a declared base table, but if there are no tables that * utilize this base table, it won't be very effective. - * - base field: The field to use in the relationship; if left out this iwll be + * - base field: The field to use in the relationship; if left out this will be * assumed to be the primary field. * - relationship table: The actual table this relationship operates against. * This is analogous to using a 'table' override. - * - relationship field: The actual field this relationsihp operates against. + * - relationship field: The actual field this relationship operates against. * This is analogous to using a 'real field' override. * - label: The default label to provide for this relationship, which is * shown in parentheses next to any field/sort/filter/argument that uses Index: modules/book.views.inc =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/views/modules/book.views.inc,v retrieving revision 1.5.6.1 diff -u -p -r1.5.6.1 book.views.inc --- modules/book.views.inc 2 Nov 2009 22:01:26 -0000 1.5.6.1 +++ modules/book.views.inc 3 Nov 2009 00:52:38 -0000 @@ -31,7 +31,7 @@ function book_views_data() { 'help' => t('The book the node is in.'), 'relationship' => array( 'base' => 'node', - 'field' => 'bid', + 'base field' => 'bid', 'handler' => 'views_handler_relationship', 'label' => t('Book'), ), @@ -111,7 +111,7 @@ function book_views_data() { 'help' => t('The parent book node.'), 'relationship' => array( 'base' => 'node', - 'field' => 'nid', + 'base field' => 'nid', 'handler' => 'views_handler_relationship', 'label' => t('Book parent'), ), Index: modules/comment.views.inc =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/views/modules/comment.views.inc,v retrieving revision 1.33.4.2 diff -u -p -r1.33.4.2 comment.views.inc --- modules/comment.views.inc 2 Nov 2009 23:25:01 -0000 1.33.4.2 +++ modules/comment.views.inc 3 Nov 2009 00:52:38 -0000 @@ -196,7 +196,7 @@ function comment_views_data() { 'filter' => array( 'handler' => 'views_handler_filter_date', ), - ); + ); // status (approved or not) $data['comment']['status'] = array( @@ -278,7 +278,7 @@ function comment_views_data() { 'help' => t('The node the comment is a reply to.'), 'relationship' => array( 'base' => 'node', - 'field' => 'nid', + 'base field' => 'nid', 'handler' => 'views_handler_relationship', 'label' => t('Node'), ), @@ -289,7 +289,7 @@ function comment_views_data() { 'help' => t("The User ID of the comment's author."), 'relationship' => array( 'base' => 'users', - 'field' => 'uid', + 'base field' => 'uid', 'handler' => 'views_handler_relationship', 'label' => t('User'), ), @@ -305,7 +305,7 @@ function comment_views_data() { 'title' => t('Parent comment'), 'help' => t('The parent comment.'), 'base' => 'comment', - 'field' => 'cid', + 'base field' => 'cid', 'handler' => 'views_handler_relationship', 'label' => t('Parent comment'), ), @@ -321,7 +321,7 @@ function comment_views_data() { $data['node_comment_statistics']['table']['join'] = array( //...to the node table 'node' => array( - 'type' => 'INNER', + 'type' => 'INNER', 'left_field' => 'nid', 'field' => 'nid', ), Index: modules/node.views.inc =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/views/modules/node.views.inc,v retrieving revision 1.97.4.1 diff -u -p -r1.97.4.1 node.views.inc --- modules/node.views.inc 2 Nov 2009 22:01:26 -0000 1.97.4.1 +++ modules/node.views.inc 3 Nov 2009 00:52:38 -0000 @@ -416,7 +416,7 @@ function node_views_data() { 'relationship' => array( 'handler' => 'views_handler_relationship', 'base' => 'users', - 'field' => 'uid', + 'base field' => 'uid', 'label' => t('revision user'), ), ); Index: modules/statistics.views.inc =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/views/modules/statistics.views.inc,v retrieving revision 1.9.6.1 diff -u -p -r1.9.6.1 statistics.views.inc --- modules/statistics.views.inc 2 Nov 2009 22:01:26 -0000 1.9.6.1 +++ modules/statistics.views.inc 3 Nov 2009 00:52:38 -0000 @@ -206,7 +206,7 @@ function statistics_views_data() { 'relationship' => array( 'handler' => 'views_handler_relationship', 'base' => 'users', - 'field' => 'uid', + 'base field' => 'uid', ), ); Index: modules/upload.views.inc =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/views/modules/upload.views.inc,v retrieving revision 1.16.4.1 diff -u -p -r1.16.4.1 upload.views.inc --- modules/upload.views.inc 2 Nov 2009 22:01:26 -0000 1.16.4.1 +++ modules/upload.views.inc 3 Nov 2009 00:52:38 -0000 @@ -129,7 +129,7 @@ function upload_views_data_alter(&$data) 'relationship table' => 'upload', 'relationship field' => 'fid', 'base' => 'file', - 'field' => 'fid', + 'base field' => 'fid', 'handler' => 'views_handler_relationship', 'label' => t('Files'), ),