You are here

function efq_views_handler_sort_field::query in EntityFieldQuery Views Backend 7

Called to add the sort to a query.

Overrides views_handler_sort::query

File

handlers/efq_views_handler_sort_field.inc, line 7

Class

efq_views_handler_sort_field
Sort handler for fields.

Code

function query() {
  $this->query->query
    ->fieldOrderBy($this->definition['field_name'], $this->real_field, $this->options['order']);
}