diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/query/QueryPluginBase.php b/core/modules/views/lib/Drupal/views/Plugin/views/query/QueryPluginBase.php index e78516d..3897c78 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/query/QueryPluginBase.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/query/QueryPluginBase.php @@ -131,7 +131,7 @@ public function getLimit() { * @return $group * The group ID generated. */ - function set_where_group($type = 'AND', $group = NULL, $where = 'where') { + function setWhereGroup($type = 'AND', $group = NULL, $where = 'where') { // Set an alias. $groups = &$this->$where; diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/query/Sql.php b/core/modules/views/lib/Drupal/views/Plugin/views/query/Sql.php index 3f7c8bd..565e88e 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/query/Sql.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/query/Sql.php @@ -843,7 +843,7 @@ function add_where($group, $field, $value = NULL, $operator = NULL) { // Check for a group. if (!isset($this->where[$group])) { - $this->set_where_group('AND', $group); + $this->setWhereGroup('AND', $group); } $this->where[$group]['conditions'][] = array( @@ -881,7 +881,7 @@ function add_where_expression($group, $snippet, $args = array()) { // Check for a group. if (!isset($this->where[$group])) { - $this->set_where_group('AND', $group); + $this->setWhereGroup('AND', $group); } $this->where[$group]['conditions'][] = array( @@ -924,7 +924,7 @@ function add_having($group, $field, $value = NULL, $operator = NULL) { // Check for a group. if (!isset($this->having[$group])) { - $this->set_where_group('AND', $group, 'having'); + $this->setWhereGroup('AND', $group, 'having'); } // Add the clause and the args. @@ -962,7 +962,7 @@ function add_having_expression($group, $snippet, $args = array()) { // Check for a group. if (!isset($this->having[$group])) { - $this->set_where_group('AND', $group, 'having'); + $this->setWhereGroup('AND', $group, 'having'); } // Add the clause and the args. diff --git a/core/modules/views/lib/Drupal/views/ViewExecutable.php b/core/modules/views/lib/Drupal/views/ViewExecutable.php index a8a8dd2..ca90c88 100644 --- a/core/modules/views/lib/Drupal/views/ViewExecutable.php +++ b/core/modules/views/lib/Drupal/views/ViewExecutable.php @@ -1041,7 +1041,7 @@ public function build($display_id = NULL) { if ($filter_groups) { $this->query->set_group_operator($filter_groups['operator']); foreach ($filter_groups['groups'] as $id => $operator) { - $this->query->set_where_group($operator, $id); + $this->query->setWhereGroup($operator, $id); } } }