Commit 27c5c693 authored by alexpott's avatar alexpott

Issue #2003300 by phenaproxima, Frederico: Rename Views method...

Issue #2003300 by phenaproxima, Frederico: Rename Views method set_group_operator() to setGroupOperator().
parent bda0761f
......@@ -154,7 +154,7 @@ function set_where_group($type = 'AND', $group = NULL, $where = 'where') {
* @param $type
* Either 'AND' or 'OR'
*/
function set_group_operator($type = 'AND') {
public function setGroupOperator($type = 'AND') {
$this->group_operator = strtoupper($type);
}
......
......@@ -1013,7 +1013,7 @@ public function build($display_id = NULL) {
if (!empty($this->filter)) {
$filter_groups = $this->display_handler->getOption('filter_groups');
if ($filter_groups) {
$this->query->set_group_operator($filter_groups['operator']);
$this->query->setGroupOperator($filter_groups['operator']);
foreach ($filter_groups['groups'] as $id => $operator) {
$this->query->set_where_group($operator, $id);
}
......
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