One Relationship Handler to Rule Them All. (Props to solotandem for the wild idea...
[project/relation.git] / views / relation.views.inc
index fe64608..2e79632 100644 (file)
@@ -235,8 +235,8 @@ function relation_views_data_alter(&$data) {
             'label' => check_plain($relation_type->label),
             'base' => $base_table_right,
             'base field' => $entity_infos[$entity_type_right]['entity keys']['id'],
-            'relationship field' => $relationship_field,
-            'handler' => 'relation_handler_relationship_right',
+            'relationship field' => 'rid',
+            'handler' => 'relation_handler_relationship',
             'relation_type' => $type,
             'entity_type_right' => $entity_type_right,
             'directional' => $relation_type->directional,