Issue #2003300 by phenaproxima, Frederico: Rename Views method set_group_operator() to setGroupOperator().
parent
bda0761fcf
commit
27c5c693f8
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue