You are here

public function SarniaViewsHandlerField::query in Sarnia 7

Add this handler's data to the query.

By default Solr returns all of the fields in a Solr doc. All that this method needs to do is specify the field alias.

Overrides views_handler_field::query

File

handlers/handler_field.inc, line 208

Class

SarniaViewsHandlerField
Field handler for displaying Solr fields in Views.

Code

public function query() {
  $this->field_alias = $this->options['solr_property'];
}