projects
/
project/relation.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
2306ed9
)
Remove the artifical limitation from relation views relationships.
author
Karoly Negyesi
Sun, 21 Aug 2011 06:43:31 +0000 (08:43 +0200)
committer
Karoly Negyesi
Sun, 21 Aug 2011 06:43:31 +0000 (08:43 +0200)
views/relation.views.inc
patch
|
blob
|
blame
|
history
diff --git
a/views/relation.views.inc
b/views/relation.views.inc
index
fe4f742
..
dd577bd
100644
(file)
--- a/
views/relation.views.inc
+++ b/
views/relation.views.inc
@@
-24,9
+24,6
@@
function relation_views_data_alter(&$data) {
// Build the relations between the different tables.
$types = relation_get_types();
foreach ($types as $type => $relation_type) {
- if ($relation_type->max_arity != 2) {
- continue;
- }
$target_index = $relation_type->directional ? 'target_bundles' : 'source_bundles';
foreach ($relation_type->source_bundles as $source_bundle) {
$source_bundle = explode(':', $source_bundle, 2);