public function apachesolr_views_handler_filter_string::op_equal in Apache Solr Views 7
Operator for equality.
Overrides views_handler_filter_string::op_equal
File
- handlers/
apachesolr_views_handler_filter_string.inc, line 27 - Sring filter handler for Apache Solr Views.
Class
- apachesolr_views_handler_filter_string
- @file Sring filter handler for Apache Solr Views.
Code
public function op_equal($field) {
if ($this->operator == '!=') {
$this->real_field = '-' . $this->real_field;
}
$this->query
->add_where($this->options['group'], $this->real_field, $this->value);
}