5 * Contains views_handler_filter_tracker_boolean_operator
9 * Filter handler for boolean values to use = 1 instead of <> 0.
11 class views_handler_filter_tracker_boolean_operator extends views_handler_filter_boolean_operator {
14 * Overrides views_handler_filter_boolean_operator::query().
17 $this->ensure_my_table();
18 $where = "$this->table_alias.$this->real_field ";
19 if (empty($this->value)) {
21 if ($this->accept_null) {
22 $where = '(' . $where . " OR $this->table_alias.$this->real_field IS NULL)";
28 $this->query->add_where_expression($this->options['group'], $where);