From 61a43c448711d2c279d2abaf310e8d1f76e903c4 Mon Sep 17 00:00:00 2001 From: pdontthink Date: Thu, 4 Jan 2007 14:15:25 +0000 Subject: [PATCH] Partial fix for non-javascript compact paginator on search results, but as Marc noted, the widgets need to be named or otherwise associated with which form they belong, which is why it still isn't working git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12065 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/search.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/search.php b/src/search.php index d5362987..f8f4356e 100644 --- a/src/search.php +++ b/src/search.php @@ -1096,7 +1096,8 @@ if (sqgetGlobalVar('srt', $temp, SQ_GET)) { asearch_edit_last(1); // asearch_push_recent($mailbox_array, $biop_array, $unop_array, $where_array, $what_array, $exclude_array, $sub_array); } -if (sqgetGlobalVar('startMessage', $temp, SQ_GET)) { +//FIXME: the following gets the right startMessage value, but there is no indication of what form it came from (thus what mailbox folder needs to be paginated), so when using the compact paginator without javascript turned on, pagination is broken +if (sqGetGlobalVarMultiple('startMessage', $temp, 'paginator_submit', SQ_FORM)) { $startMessage = (int) $temp; asearch_edit_last(1); // asearch_push_recent($mailbox_array, $biop_array, $unop_array, $where_array, $what_array, $exclude_array, $sub_array); -- 2.25.1