1.20.x views_handler_sort.inc | views_handler_sort::query() |
Called to add the sort to a query.
File
- modules/
views/ handlers/ views_handler_sort.inc, line 29 - @todo.
Class
- views_handler_sort
- Base sort handler that has no options and performs a simple sort.
Code
function query() {
$this->ensure_my_table();
// Add the field.
$this->query->add_orderby($this->table_alias, $this->real_field, $this->options['order']);
}