Issue #3094277 by TylerMarshall, ravi.shankar: Spelling mistake in views.api.php hook_views_query_alter
parent
3573033631
commit
a061318733
|
@ -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 = [
|
||||
|
|
Loading…
Reference in New Issue