You are here

public function SarniaViewsHandlerField::click_sort in Sarnia 7

Add a click sort to the query.

Overrides views_handler_field::click_sort

File

handlers/handler_field.inc, line 316

Class

SarniaViewsHandlerField
Field handler for displaying Solr fields in Views.

Code

public function click_sort($order) {
  $this->query
    ->sort($this->field_alias, $order);
}