function 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 46

Class

views_handler_filter_group_by_numeric
Simple filter to handle greater than/less than filters.

Code

public function op_simple($field) {
    $placeholder = $this->placeholder();
    $this->query
        ->add_having_expression($this->options['group'], "{$field} {$this->operator} {$placeholder}", array(
        $placeholder => $this->value['value'],
    ));
}