Issue #2003300 by phenaproxima, Frederico: Rename Views method set_group_operator() to setGroupOperator().

8.0.x
Alex Pott 2013-05-29 14:48:10 +01:00
parent bda0761fcf
commit 27c5c693f8
2 changed files with 2 additions and 2 deletions

View File

@ -154,7 +154,7 @@ abstract class QueryPluginBase extends PluginBase implements QueryInterface {
* @param $type
* Either 'AND' or 'OR'
*/
function set_group_operator($type = 'AND') {
public function setGroupOperator($type = 'AND') {
$this->group_operator = strtoupper($type);
}

View File

@ -1013,7 +1013,7 @@ class ViewExecutable {
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);
}