From 4df1036a4ab529664496510239a072c31c573291 Mon Sep 17 00:00:00 2001 From: Alex Pott Date: Wed, 29 May 2013 07:10:33 +0100 Subject: [PATCH] Issue #2002978 by tvlooy, crowdcg: Rename Views method summary_sort() to summarySort(). --- .../Drupal/views/Plugin/views/argument/ArgumentPluginBase.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/argument/ArgumentPluginBase.php b/core/modules/views/lib/Drupal/views/Plugin/views/argument/ArgumentPluginBase.php index d55b317f54bf..0b7ef4e75560 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/argument/ArgumentPluginBase.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/argument/ArgumentPluginBase.php @@ -783,7 +783,7 @@ abstract class ArgumentPluginBase extends HandlerBase { $this->summary_query(); $by = $this->options['summary']['number_of_records'] ? 'num_records' : NULL; - $this->summary_sort($this->options['summary']['sort_order'], $by); + $this->summarySort($this->options['summary']['sort_order'], $by); // Summaries have their own sorting and fields, so tell the View not // to build these. @@ -872,7 +872,7 @@ abstract class ArgumentPluginBase extends HandlerBase { * @param $order * The order selected in the UI. */ - function summary_sort($order, $by = NULL) { + public function summarySort($order, $by = NULL) { $this->query->add_orderby(NULL, NULL, $order, (!empty($by) ? $by : $this->name_alias)); }