public function views_handler_filter_group_by_numeric::op_simple in Views (for Drupal 7) 7.3
Same name and namespace in other branches
- 6.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 46 - Definition of views_handler_filter_group_by_numeric.
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'],
));
}