Skip to content

Commit

Permalink
add in patch to make the relationship handlers label work
Browse files Browse the repository at this point in the history
  • Loading branch information
SupermanScott committed Dec 31, 2010
1 parent 9a7f56d commit 89374c4
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions views_1011266_admin-handler-label.patch
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();
}
}

0 comments on commit 89374c4

Please sign in to comment.