You are here

public function SarniaViewsHandlerSort::query in Sarnia 7

Called to add the sort to a query.

Overrides SearchApiViewsHandlerSort::query

File

handlers/handler_sort.inc, line 25

Class

SarniaViewsHandlerSort
Really basic sort handler for sorting Solr documents in Views.

Code

public function query() {
  if (!empty($this->options['solr_property'])) {
    $this->real_field = $this->options['solr_property'];
    parent::query();
  }
}