From 025bca28aa1717459c811744704e0c1b514d1e1e Mon Sep 17 00:00:00 2001 From: Steven Wittens Date: Tue, 31 May 2005 19:54:31 +0000 Subject: - Forgot about tablesort dependency on pager. --- includes/common.inc | 2 +- includes/tablesort.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'includes') diff --git a/includes/common.inc b/includes/common.inc index 649f57889..b7210f668 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -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]; diff --git a/includes/tablesort.inc b/includes/tablesort.inc index e4f044d89..0c08f4b93 100644 --- a/includes/tablesort.inc +++ b/includes/tablesort.inc @@ -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; } -- cgit v1.2.3