[aur-dev] [PATCH] Fix for 'More' and 'Less' paging breakage.
eliott
eliott at cactuswax.net
Sun Feb 17 14:47:20 EST 2008
---
web/lib/pkgfuncs.inc | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/web/lib/pkgfuncs.inc b/web/lib/pkgfuncs.inc
index 3608012..3b73b34 100644
--- a/web/lib/pkgfuncs.inc
+++ b/web/lib/pkgfuncs.inc
@@ -881,8 +881,6 @@ function pkg_search_page($SID="") {
$qnext = $q."LIMIT ".($O+$PP).", ".$PP; //next page's worth
$q.= "LIMIT ".$O.", ".$PP;
-
-
$result = db_query($q, $dbh);
print "<center>\n";
@@ -1053,6 +1051,7 @@ function pkg_search_page($SID="") {
print "</tr>\n";
print "</table>\n";
# print "<input type='hidden' name='All_IDs' value='".$all_ids."'>\n";
+ print "<input type='hidden' name='O' value='".$O."'>\n";
if ($_REQUEST["do_MyPackages"]) {
print "<input type='hidden' name='do_MyPackages' value='1'>\n";
}
--
1.5.3.7
More information about the aur-dev
mailing list