function hosting_package_handler_sort_site_count::query in Hosting 7.4
Same name and namespace in other branches
- 7.3 package/includes/views/handlers/hosting_package_handler_sort_site_count.inc \hosting_package_handler_sort_site_count::query()
Called to add the sort to a query.
Overrides views_handler_sort::query
File
- package/
includes/ views/ handlers/ hosting_package_handler_sort_site_count.inc, line 11
Class
- hosting_package_handler_sort_site_count
- Sort handler for package site counts.
Code
function query() {
// Add the field.
$this->query
->add_orderby(NULL, NULL, $this->options['order'], $this->field);
}