-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add in patch to make the relationship handlers label work
- Loading branch information
1 parent
9a7f56d
commit 89374c4
Showing
1 changed file
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
? admin-handler-label.patch | ||
Index: includes/admin.inc | ||
=================================================================== | ||
RCS file: /cvs/drupal-contrib/contributions/modules/views/includes/admin.inc,v | ||
retrieving revision 1.161.4.78 | ||
diff -u -p -r1.161.4.78 admin.inc | ||
--- includes/admin.inc 30 Dec 2010 18:48:28 -0000 1.161.4.78 | ||
+++ includes/admin.inc 31 Dec 2010 05:26:22 -0000 | ||
@@ -1393,7 +1393,8 @@ function template_preprocess_views_ui_ed | ||
// @todo: get_handlers() | ||
$handlers = $display->handler->get_option('relationships'); | ||
if ($handlers) { | ||
- foreach ($handlers as $id => $handler) { | ||
+ foreach ($handlers as $id => $info) { | ||
+ $handler = $display->handler->get_handler('relationship', $id); | ||
$relationships[$id] = $handler->label(); | ||
} | ||
} |