Commit 4dd6b492 authored by merlinofchaos's avatar merlinofchaos

Sort by nid still broken with DISTINCT

parent a847888f
......@@ -755,7 +755,7 @@ function views_handler_sort_random($action, &$query, $sortinfo, $sort) {
}
function views_node_sort_handler_nid($action, &$query, $sortinfo, $sort) {
$query->orderby[] = "{node}.nid $sort[sortorder]";
$query->orderby[] = "node.nid $sort[sortorder]";
}
function views_handler_arg_node_feed($op, &$query, $argtype, $arg = '') {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment