Commit b5279723 authored by webchick's avatar webchick
Browse files

Issue #2020695 by heddn: Rename Views method summary_join() to summaryJoin().

parent 9b3f8719
...@@ -119,7 +119,7 @@ public function getJoin() { ...@@ -119,7 +119,7 @@ public function getJoin() {
* Provide the proper join for summary queries. This is important in part because * Provide the proper join for summary queries. This is important in part because
* it will cooperate with other arguments if possible. * it will cooperate with other arguments if possible.
*/ */
function summary_join() { public function summaryJoin() {
$field = $this->handler->relationship . '_' . $this->handler->table . '.' . $this->handler->field; $field = $this->handler->relationship . '_' . $this->handler->table . '.' . $this->handler->field;
$join = $this->getJoin(); $join = $this->getJoin();
......
...@@ -173,7 +173,7 @@ protected function summaryQuery() { ...@@ -173,7 +173,7 @@ protected function summaryQuery() {
$this->tableAlias = $this->query->ensureTable($this->table, $this->relationship, $join); $this->tableAlias = $this->query->ensureTable($this->table, $this->relationship, $join);
} }
else { else {
$this->tableAlias = $this->helper->summary_join(); $this->tableAlias = $this->helper->summaryJoin();
} }
// Add the field. // Add the field.
......
...@@ -151,7 +151,7 @@ protected function summaryQuery() { ...@@ -151,7 +151,7 @@ protected function summaryQuery() {
$this->ensureMyTable(); $this->ensureMyTable();
} }
else { else {
$this->tableAlias = $this->helper->summary_join(); $this->tableAlias = $this->helper->summaryJoin();
} }
if (empty($this->options['glossary'])) { if (empty($this->options['glossary'])) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment