Commit e504933f authored by alexpott's avatar alexpott

Issue #2002350 by zschmid, IshaDakota: Rename Views method...

Issue #2002350 by zschmid, IshaDakota: Rename Views method aggregation_method_distinct() to aggregationMethodDistinct().
parent 2c2ae720
......@@ -1667,7 +1667,7 @@ function get_aggregation_info() {
),
'count_distinct' => array(
'title' => t('Count DISTINCT'),
'method' => 'aggregation_method_distinct',
'method' => 'aggregationMethodDistinct',
'handler' => array(
'argument' => 'groupby_numeric',
'field' => 'numeric',
......@@ -1732,7 +1732,7 @@ function aggregation_method_simple($group_type, $field) {
return strtoupper($group_type) . '(' . $field . ')';
}
function aggregation_method_distinct($group_type, $field) {
public function aggregationMethodDistinct($group_type, $field) {
$group_type = str_replace('_distinct', '', $group_type);
return strtoupper($group_type) . '(DISTINCT ' . $field . ')';
}
......
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