summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.txt1
-rw-r--r--modules/node.views.inc7
2 files changed, 8 insertions, 0 deletions
diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index 7e360cb..5b1a8f5 100644
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -115,6 +115,7 @@ Views 2.x-dev
o #868972 by dereine: Add a "summary" attribute for accessibility on table and grid styles.
o #607942 by dashton: Support "rel" attribute in link rewriting.
o #909332 by dereine: Add col-first and col-last classes to grid style.
+ o #368687 by dereine: Allow a relationship from node revision to master node.
Views 2.11 (Jun 16, 2010)
Bug fixes:
diff --git a/modules/node.views.inc b/modules/node.views.inc
index 9fb3f57..79690ff 100644
--- a/modules/node.views.inc
+++ b/modules/node.views.inc
@@ -478,6 +478,13 @@ function node_views_data() {
'sort' => array(
'handler' => 'views_handler_sort',
),
+ 'relationship' => array(
+ 'handler' => 'views_handler_relationship',
+ 'base' => 'node',
+ 'base field' => 'nid',
+ 'title' => t('Node'),
+ 'label' => t('Get the actual node from a node revision.'),
+ ),
);
// title