Commit 689127e7 authored by alexpott's avatar alexpott

Issue #2003540 by jeroen12345, toddtomlinson: Rename Views method op_not_ends() to opNotEnds().

parent 631d0da1
......@@ -116,7 +116,7 @@ protected function opEndsWith($expression) {
$this->query->add_where_expression($this->options['group'], "$expression LIKE $placeholder", array($placeholder => '%' . db_like($this->value)));
}
function op_not_ends($expression) {
protected function opNotEnds($expression) {
$placeholder = $this->placeholder();
$this->query->add_where_expression($this->options['group'], "$expression NOT LIKE $placeholder", array($placeholder => '%' . db_like($this->value)));
}
......
......@@ -89,7 +89,7 @@ function operators() {
'not_ends' => array(
'title' => t('Does not end with'),
'short' => t('not_ends'),
'method' => 'op_not_ends',
'method' => 'opNotEnds',
'values' => 1,
),
'not' => array(
......@@ -313,7 +313,7 @@ protected function opEndsWith($field) {
$this->query->add_where($this->options['group'], $field, '%' . db_like($this->value), 'LIKE');
}
function op_not_ends($field) {
protected function opNotEnds($field) {
$this->query->add_where($this->options['group'], $field, '%' . db_like($this->value), 'NOT LIKE');
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment