public function bat_event_handler_duration_field::click_sort in Booking and Availability Management Tools for Drupal 7
Called to determine what to tell the clicksorter.
Overrides views_handler_field::click_sort
File
- modules/
bat_event/ views/ bat_event_handler_duration_field.inc, line 22
Class
Code
public function click_sort($order) {
$params = $this->options['group_type'] != 'group' ? array(
'function' => $this->options['group_type'],
) : array();
$this->query
->add_orderby(NULL, NULL, $order, $this->field_alias, $params);
}