| Versions | |
|---|---|
| 4.7 – 6 | pager_get_querystring() |
Compose a query string to append to pager requests.
A query string that consists of all components of the current page request except for those pertaining to paging.
includes/
<?php
function pager_get_querystring() {
static $string = NULL;
if (!isset($string)) {
$string = drupal_query_string_encode($_REQUEST, array_merge(array('q', 'page'), array_keys($_COOKIE)));
}
return $string;
}
?>