function tablesort_get_querystring

6.x tablesort.inc tablesort_get_querystring()

Compose a query string to append to table sorting requests.

Return value

A query string that consists of all components of the current page request except for those pertaining to table sorting.

1 call to tablesort_get_querystring()
tablesort_init in drupal-6.x/includes/tablesort.inc
Initialize the table sort context.

File

drupal-6.x/includes/tablesort.inc, line 137
Functions to aid in the creation of sortable tables.

Code

function tablesort_get_querystring() {
  return drupal_query_string_encode($_REQUEST, array_merge(array('q', 'sort', 'order', 'pass'), array_keys($_COOKIE)));
}