You are here

function views_handler_filter::can_group in Views (for Drupal 7) 6.3

Same name and namespace in other branches
  1. 7.3 handlers/views_handler_filter.inc \views_handler_filter::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

2 methods override views_handler_filter::can_group()
views_handler_filter_group_by_numeric::can_group in handlers/views_handler_filter_group_by_numeric.inc
Can this filter be used in OR groups?
views_handler_filter_term_node_tid::can_group in modules/taxonomy/views_handler_filter_term_node_tid.inc
Can this filter be used in OR groups?

File

handlers/views_handler_filter.inc, line 596

Class

views_handler_filter
Base class for filters.

Code

function can_group() {
  return TRUE;
}