function hosting_package_handler_field_site_count::click_sort in Hosting 7.3
Same name and namespace in other branches
- 7.4 package/includes/views/handlers/hosting_package_handler_field_site_count.inc \hosting_package_handler_field_site_count::click_sort()
Called to determine what to tell the clicksorter.
Overrides views_handler_field::click_sort
File
- package/
includes/ views/ handlers/ hosting_package_handler_field_site_count.inc, line 19
Class
- hosting_package_handler_field_site_count
- A handler to provide a count of sites using a given package.
Code
function click_sort($order) {
$this->query
->add_orderby(NULL, NULL, $order, $this->field);
}