Commit 5021c480 authored by webchick's avatar webchick
Browse files

Issue #2003566 by broeker | heddn: Rename Views method op_longer() to opLongerThan().

parent 7a81bb66
......@@ -107,7 +107,7 @@ function operators() {
'longerthan' => array(
'title' => t('Length is longer than'),
'short' => t('longer than'),
'method' => 'op_longer',
'method' => 'opLongerThan',
'values' => 1,
),
);
......@@ -326,7 +326,7 @@ function op_shorter($field) {
$this->query->add_where_expression($this->options['group'], "LENGTH($field) < $placeholder", array($placeholder => $this->value));
}
function op_longer($field) {
protected function opLongerThan($field) {
$placeholder = $this->placeholder();
$this->query->add_where_expression($this->options['group'], "LENGTH($field) > $placeholder", array($placeholder => $this->value));
}
......
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