From 217a6032c16e64bc2931b34f3a3184ce74dded2d Mon Sep 17 00:00:00 2001 From: Alex Barth <alex_b@53995.no-reply.drupal.org> Date: Fri, 22 Oct 2010 02:34:58 +0000 Subject: [PATCH] Add a comment explaining this crazy ass views relationship. --- views/feeds.views.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/views/feeds.views.inc b/views/feeds.views.inc index 0f321be3..6ccd42b5 100644 --- a/views/feeds.views.inc +++ b/views/feeds.views.inc @@ -165,6 +165,8 @@ function feeds_views_data() { ), ); + // Add a relationship for each entity type relating the entity's base table + // to the feeds_item table whre feeds_item.entity_type = 'entity_type'. foreach (array('node', 'taxonomy_term', 'user') as $entity_type) { $info = entity_get_info($entity_type); $data['feeds_item']['table']['join'][$info['base table']] = array( -- GitLab