You are here

function views_node_sort_handler_nid in Views (for Drupal 7) 5

1 string reference to 'views_node_sort_handler_nid'
node_views_tables in modules/views_node.inc
This include file implements views functionality on behalf of node.module

File

modules/views_node.inc, line 774

Code

function views_node_sort_handler_nid($action, &$query, $sortinfo, $sort) {
  $query->orderby[] = "node.nid {$sort['sortorder']}";
}