| Versions | |
|---|---|
| 4.7 – 6 | tablesort_get_querystring() |
Compose a query string to append to table sorting requests.
A query string that consists of all components of the current page request except for those pertaining to table sorting.
includes/
<?php
function tablesort_get_querystring() {
return drupal_query_string_encode($_REQUEST, array_merge(array('q', 'sort', 'order'), array_keys($_COOKIE)));
}
?>