Commit 4df1036a authored by alexpott's avatar alexpott

Issue #2002978 by tvlooy, crowdcg: Rename Views method summary_sort() to summarySort().

parent 9b64d30a
......@@ -783,7 +783,7 @@ function default_summary() {
$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 @@ function summary_basics($count_field = TRUE) {
* @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));
}
......
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