Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
025bca28
Commit
025bca28
authored
May 31, 2005
by
Steven Wittens
Browse files
- Forgot about tablesort dependency on pager.
parent
8bfe10bb
Changes
2
Hide whitespace changes
Inline
Side-by-side
includes/common.inc
View file @
025bca28
...
...
@@ -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
];
...
...
includes/tablesort.inc
View file @
025bca28
...
...
@@ -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
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment