Commit 51d364e0 authored by alexpott's avatar alexpott
Browse files

Issue #2002424 by web.dev.cas: Rename Views method click_sort() to clickSort().

parent 49fb3c5f
...@@ -248,7 +248,7 @@ function click_sortable() { ...@@ -248,7 +248,7 @@ function click_sortable() {
/** /**
* Called to determine what to tell the clicksorter. * Called to determine what to tell the clicksorter.
*/ */
function click_sort($order) { public function clickSort($order) {
// No column selected, can't continue. // No column selected, can't continue.
if (empty($this->options['click_sort_column'])) { if (empty($this->options['click_sort_column'])) {
return; return;
......
...@@ -165,7 +165,7 @@ protected function addAdditionalFields($fields = NULL) { ...@@ -165,7 +165,7 @@ protected function addAdditionalFields($fields = NULL) {
/** /**
* Called to determine what to tell the clicksorter. * Called to determine what to tell the clicksorter.
*/ */
function click_sort($order) { public function clickSort($order) {
if (isset($this->field_alias)) { if (isset($this->field_alias)) {
// Since fields should always have themselves already added, just // Since fields should always have themselves already added, just
// add a sort on the field. // add a sort on the field.
......
...@@ -158,7 +158,7 @@ function build_sort_post() { ...@@ -158,7 +158,7 @@ function build_sort_post() {
$this->active = $sort; $this->active = $sort;
// Tell the field to click sort. // Tell the field to click sort.
$this->view->field[$sort]->click_sort($this->order); $this->view->field[$sort]->clickSort($this->order);
} }
/** /**
......
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