From b527972331a1977b9ef142cd319dcf8f743e4c80 Mon Sep 17 00:00:00 2001 From: webchick Date: Mon, 17 Jun 2013 00:26:54 -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 +- .../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 14353c790e..24ef8ab139 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 68aff716cd..63802b5989 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 8384de382f..3e07049144 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'])) { -- GitLab