- Forgot about tablesort dependency on pager.

4.7.x
Steven Wittens 2005-05-31 19:54:31 +00:00
parent 8bfe10bb96
commit 025bca28aa
2 changed files with 2 additions and 2 deletions

View File

@ -140,7 +140,7 @@ function drupal_get_headers() {
*/
function drupal_get_destination() {
$destination[] = $_GET['q'];
$params = array('from', 'sort', 'order');
$params = array('page', 'sort', 'order');
foreach ($params as $param) {
if (isset($_GET[$param])) {
$destination[] = "$param=". $_GET[$param];

View File

@ -27,7 +27,7 @@ function tablesort_init($header) {
*/
function tablesort_pager() {
$cgi = $_SERVER['REQUEST_METHOD'] == 'GET' ? $_GET : $_POST;
unset($cgi['q'], $cgi['from']);
unset($cgi['q'], $cgi['page']);
return $cgi;
}