diff options
author | pjmattal <pjmattal> | 2006-06-12 02:13:43 +0000 |
---|---|---|
committer | pjmattal <pjmattal> | 2006-06-12 02:13:43 +0000 |
commit | c94000db49c2201cbd17e4389aacb1ce9fbd3d03 (patch) | |
tree | c0cd73f5ef7b7d9fcafaa36c7f42d4cd290763c1 /web | |
parent | 7495613d59af6e1c96ff3ce5675df29ea9805a1e (diff) | |
download | aurweb-c94000db49c2201cbd17e4389aacb1ce9fbd3d03.tar.xz |
added sorting.patch from dsa to close bug #4659, sorting error
Diffstat (limited to 'web')
-rw-r--r-- | web/lib/pkgfuncs.inc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/web/lib/pkgfuncs.inc b/web/lib/pkgfuncs.inc index a323984..0d86ee4 100644 --- a/web/lib/pkgfuncs.inc +++ b/web/lib/pkgfuncs.inc @@ -995,7 +995,13 @@ function pkg_search_page($SID="") { # print " <th style='border-bottom: #666 1px solid; vertical-align:"; # print " bottom'><span class='f2'>".__("Manage")."</span></th>\n"; # } - print "</tr>\n"; + print "</tr>\n"; + + # Solve the sorting problem, so we can force the + # passage of the sorting params to the next pages. + # Added by: dsa <dsandrade@gmail.com> + print "<input type='hidden' name='SB' value='".$_REQUEST['SB']."' >"; + print "<input type='hidden' name='SO' value='".$_REQUEST['SO']."' >"; for ($i=0; $row = mysql_fetch_assoc($result); $i++) { (($i % 2) == 0) ? $c = "data1" : $c = "data2"; |