You are here

function views_handler_sort_profile_date in Views (for Drupal 7) 5

1 string reference to 'views_handler_sort_profile_date'
profile_views_add_sort in modules/views_profile.inc
Add profile fields to sort table

File

modules/views_profile.inc, line 283

Code

function views_handler_sort_profile_date($action, &$query, $sortinfo, $sort) {

  /*
  switch ($GLOBALS['db_type']) {
    case 'mysql':
    case 'mysqli':
      $query->add_orderby('', "rand()", "ASC");
      break;
    case 'pgsql':
      $query->add_orderby('', "random()", "ASC");
      break;
  }
  */
}