Commit 1f684ba3 authored by alexpott's avatar alexpott
Browse files

Issue #2002422 by a_L_p, NonProfit, jeroen12345: Rename Views method...

Issue #2002422 by a_L_p, NonProfit, jeroen12345: Rename Views method clear_fields() to clearFields().
parent 5c63406b
...@@ -779,7 +779,7 @@ function default_summary() { ...@@ -779,7 +779,7 @@ function default_summary() {
// Clear out the normal primary field and whatever else may have // Clear out the normal primary field and whatever else may have
// been added and let the summary do the work. // been added and let the summary do the work.
$this->query->clear_fields(); $this->query->clearFields();
$this->summary_query(); $this->summary_query();
$by = $this->options['summary']['number_of_records'] ? 'num_records' : NULL; $by = $this->options['summary']['number_of_records'] ? 'num_records' : NULL;
......
...@@ -796,7 +796,7 @@ function add_field($table, $field, $alias = '', $params = array()) { ...@@ -796,7 +796,7 @@ function add_field($table, $field, $alias = '', $params = array()) {
* Remove all fields that may've been added; primarily used for summary * Remove all fields that may've been added; primarily used for summary
* mode where we're changing the query because we didn't get data we needed. * mode where we're changing the query because we didn't get data we needed.
*/ */
function clear_fields() { public function clearFields() {
$this->fields = array(); $this->fields = array();
} }
......
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