You are here

function views_handler_filter_group_by_numeric::op_simple in Views (for Drupal 7) 6.3

Same name and namespace in other branches
  1. 7.3 handlers/views_handler_filter_group_by_numeric.inc \views_handler_filter_group_by_numeric::op_simple()

Overrides views_handler_filter_numeric::op_simple

File

handlers/views_handler_filter_group_by_numeric.inc, line 28

Class

views_handler_filter_group_by_numeric
Simple filter to handle greater than/less than filters

Code

function op_simple($field) {
  $this->query
    ->add_having($this->options['group'], "{$field} {$this->operator} %d", $this->value['value']);
}