summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaren Stevenson2008-03-21 12:32:22 (GMT)
committer Karen Stevenson2008-03-21 12:32:22 (GMT)
commit170b5872900e22f752a531681a2b71388e451623 (patch)
treed5a035d8eaf3a964d87c34e9b2f1e1fe7bf90c01
parentdfe0caccaff2d222045e9b1408227cd647658ad4 (diff)
#237085 Add 'base' to views table data.
-rw-r--r--content_views.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/content_views.inc b/content_views.inc
index 03d3804..cb44f53 100644
--- a/content_views.inc
+++ b/content_views.inc
@@ -47,6 +47,12 @@ function content_views_field_views_data($field) {
$data = array();
$data['table']['group'] = t('Field');
+ $data['table']['base'] = array(
+ 'field' => 'vid',
+ 'title' => t('Field'),
+ 'help' => t('The field type allows views of Content module fields.'),
+ );
+
$data['table']['join']['node'] = array(
'handler' => 'views_join',
'arguments' => array($db_info['table'], 'node', 'vid', 'vid')