diff options
author | Steven Wittens <steven@10.no-reply.drupal.org> | 2005-05-31 19:54:31 +0000 |
---|---|---|
committer | Steven Wittens <steven@10.no-reply.drupal.org> | 2005-05-31 19:54:31 +0000 |
commit | 025bca28aa1717459c811744704e0c1b514d1e1e (patch) | |
tree | 5f9c7323e5f71e41bca52b9f2433c29e3e9506c1 /includes | |
parent | 8bfe10bb96f850cdf454489889518fe1847b9439 (diff) | |
download | brdo-025bca28aa1717459c811744704e0c1b514d1e1e.tar.gz brdo-025bca28aa1717459c811744704e0c1b514d1e1e.tar.bz2 |
- Forgot about tablesort dependency on pager.
Diffstat (limited to 'includes')
-rw-r--r-- | includes/common.inc | 2 | ||||
-rw-r--r-- | includes/tablesort.inc | 2 |
2 files changed, 2 insertions, 2 deletions
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; } |