You are here

public function apachesolr_views_handler_filter_string::op_not_starts in Apache Solr Views 7

Operator for not string starting with a value.

Overrides views_handler_filter_string::op_not_starts

File

handlers/apachesolr_views_handler_filter_string.inc, line 80
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_not_starts($field) {
  $this->query
    ->add_where($this->options['group'], '-' . $this->real_field, $this->value . '*');
}