You are here

public function views_handler_filter_group_by_numeric::can_group in Views (for Drupal 7) 7.3

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

Can this filter be used in OR groups?

Some filters have complicated where clauses that cannot be easily used with OR groups. Some filters must also use HAVING which also makes them not groupable. These filters will end up in a special group if OR grouping is in use.

Return value

bool Whether the filter can be used in OR groups.

Overrides views_handler_filter::can_group

File

handlers/views_handler_filter_group_by_numeric.inc, line 75
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 can_group() {
  return FALSE;
}