1 views_handler_argument.inc | views_handler_argument::summary_sort($order, $by = NULL) |
Sorts the summary based upon the user's selection. The base variant of this is usually adequate.
Parameters
$order: The order selected in the UI.
File
- core/
modules/ views/ handlers/ views_handler_argument.inc, line 933 - @todo.
Class
- views_handler_argument
- Base class for arguments.
Code
function summary_sort($order, $by = NULL) {
$this->query->add_orderby(NULL, NULL, $order, (!empty($by) ? $by : $this->name_alias));
}