diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/filter/Combine.php b/core/modules/views/lib/Drupal/views/Plugin/views/filter/Combine.php index a8d8de8..96a5752 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/filter/Combine.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/filter/Combine.php @@ -106,7 +106,7 @@ function op_starts($expression) { $this->query->add_where_expression($this->options['group'], "$expression LIKE $placeholder", array($placeholder => db_like($this->value) . '%')); } - function op_not_starts($expression) { + function addNotStartsWith($expression) { $placeholder = $this->placeholder(); $this->query->add_where_expression($this->options['group'], "$expression NOT LIKE $placeholder", array($placeholder => db_like($this->value) . '%')); } 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..b51305c 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 @@ -77,7 +77,7 @@ function operators() { 'not_starts' => array( 'title' => t('Does not start with'), 'short' => t('not_begins'), - 'method' => 'op_not_starts', + 'method' => 'addNotStartsWith', 'values' => 1, ), 'ends' => array( @@ -305,7 +305,7 @@ function op_starts($field) { $this->query->add_where($this->options['group'], $field, db_like($this->value) . '%', 'LIKE'); } - function op_not_starts($field) { + function addNotStartsWith($field) { $this->query->add_where($this->options['group'], $field, db_like($this->value) . '%', 'NOT LIKE'); }