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 9534f1d..00a272b 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 @@ -1191,7 +1191,7 @@ protected function getNonAggregates() { * @param Drupal\Core\Database\Query\SelectInterface $query * The drupal query object. */ - function compile_fields($query) { + protected function compileFields($query) { foreach ($this->fields as $field) { $string = ''; if (!empty($field['table'])) { @@ -1338,7 +1338,7 @@ public function query($get_count = FALSE) { } // Add all fields to the query. - $this->compile_fields($query); + $this->compileFields($query); // Add groupby. if ($groupby) {