You are here

function views_handler_filter_float::op_simple in Views (for Drupal 7) 6.2

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

Overrides views_handler_filter_numeric::op_simple

File

handlers/views_handler_filter_float.inc, line 19

Class

views_handler_filter_float
Simple filter to handle greater than/less than filters. It based on views_handler_filter_numeric but deals with float numbers.

Code

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