From d98a0070e2b86c25f9d7b20f14feb1b0d1bb27e5 Mon Sep 17 00:00:00 2001 From: Lucas D Hedding Date: Sat, 15 Jun 2013 20:29:11 -0500 Subject: [PATCH] Issue #2020695 by heddn: Rename Views method summary_join() to summaryJoin(). --- core/modules/views/lib/Drupal/views/ManyToOneHelper.php | 2 +- .../views/lib/Drupal/views/Plugin/views/argument/ManyToOne.php | 2 +- core/modules/views/lib/Drupal/views/Plugin/views/argument/String.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/modules/views/lib/Drupal/views/ManyToOneHelper.php b/core/modules/views/lib/Drupal/views/ManyToOneHelper.php index ce5b87a..d92d16b 100644 --- a/core/modules/views/lib/Drupal/views/ManyToOneHelper.php +++ b/core/modules/views/lib/Drupal/views/ManyToOneHelper.php @@ -119,7 +119,7 @@ public function getJoin() { * Provide the proper join for summary queries. This is important in part because * it will cooperate with other arguments if possible. */ - function summary_join() { + public function summaryJoin() { $field = $this->handler->relationship . '_' . $this->handler->table . '.' . $this->handler->field; $join = $this->getJoin(); diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/argument/ManyToOne.php b/core/modules/views/lib/Drupal/views/Plugin/views/argument/ManyToOne.php index aaca7a0..380cec4 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/argument/ManyToOne.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/argument/ManyToOne.php @@ -173,7 +173,7 @@ protected function summaryQuery() { $this->tableAlias = $this->query->ensureTable($this->table, $this->relationship, $join); } else { - $this->tableAlias = $this->helper->summary_join(); + $this->tableAlias = $this->helper->summaryJoin(); } // Add the field. diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/argument/String.php b/core/modules/views/lib/Drupal/views/Plugin/views/argument/String.php index 66b496a..2b5aa41 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/argument/String.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/argument/String.php @@ -151,7 +151,7 @@ protected function summaryQuery() { $this->ensureMyTable(); } else { - $this->tableAlias = $this->helper->summary_join(); + $this->tableAlias = $this->helper->summaryJoin(); } if (empty($this->options['glossary'])) { -- 1.7.10.4