Issue #3094277 by TylerMarshall, ravi.shankar: Spelling mistake in views.api.php hook_views_query_alter

merge-requests/2419/head
catch 2019-12-09 12:24:50 +00:00
parent 3573033631
commit a061318733
1 changed files with 1 additions and 1 deletions

View File

@ -879,7 +879,7 @@ function hook_views_query_alter(ViewExecutable $view, QueryPluginBase $query) {
// Traverse through the 'where' part of the query.
foreach ($query->where as &$condition_group) {
foreach ($condition_group['conditions'] as &$condition) {
// If this is the part of the query filtering on title, chang the
// If this is the part of the query filtering on title, change the
// condition to filter on node ID.
if ($condition['field'] == 'node.title') {
$condition = [