diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/filter/String.php b/core/modules/views/lib/Drupal/views/Plugin/views/filter/String.php index c80e39d..697e497 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/filter/String.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/filter/String.php @@ -95,7 +95,7 @@ function operators() { 'not' => array( 'title' => t('Does not contain'), 'short' => t('!has'), - 'method' => 'op_not', + 'method' => 'addNotLike', 'values' => 1, ), 'shorterthan' => array( @@ -317,7 +317,7 @@ function op_not_ends($field) { $this->query->add_where($this->options['group'], $field, '%' . db_like($this->value), 'NOT LIKE'); } - function op_not($field) { + function addNotLike($field) { $this->query->add_where($this->options['group'], $field, '%' . db_like($this->value) . '%', 'NOT LIKE'); }