public function apachesolr_views_handler_filter_string::op_starts in Apache Solr Views 7
Operator for string starting with a value.
Overrides views_handler_filter_string::op_starts
File
- handlers/
apachesolr_views_handler_filter_string.inc, line 73 - 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_starts($field) {
$this->query
->add_where($this->options['group'], $this->real_field, $this->value . '*');
}