From a061318733ef89148cb997571922d3796368537d Mon Sep 17 00:00:00 2001
From: catch <catch@35733.no-reply.drupal.org>
Date: Mon, 9 Dec 2019 12:24:50 +0000
Subject: [PATCH] Issue #3094277 by TylerMarshall, ravi.shankar: Spelling
 mistake in views.api.php hook_views_query_alter

---
 core/modules/views/views.api.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/modules/views/views.api.php b/core/modules/views/views.api.php
index 9889c93e325d..f875cf7a55f7 100644
--- a/core/modules/views/views.api.php
+++ b/core/modules/views/views.api.php
@@ -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 = [
-- 
GitLab