From aedf2ab6a390b62f1a0de8afe18a5aa53075b9ef Mon Sep 17 00:00:00 2001 From: eliott Date: Sun, 17 Feb 2008 19:39:01 -0800 Subject: Fix for 'More' and 'Less' paging breakage. Fix for 'More' and 'Less' paging breakage. Takes into account PerPage and Category retention. --- web/lib/pkgfuncs.inc | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'web') diff --git a/web/lib/pkgfuncs.inc b/web/lib/pkgfuncs.inc index 36080124..1e92a904 100644 --- a/web/lib/pkgfuncs.inc +++ b/web/lib/pkgfuncs.inc @@ -655,7 +655,8 @@ function pkg_search_page($SID="") { # The search form # - print "
\n"; + print "\n"; + #print "\n"; print "\n"; print "
\n"; @@ -766,10 +767,8 @@ function pkg_search_page($SID="") { print "\n"; print "\n"; print "
\n"; - print "
"; print "
\n"; - print "
\n"; # query to pull out package info # # $q = "SELECT Packages.*, IF(ISNULL(PackageID), 0, COUNT(*)) AS Votes "; @@ -881,8 +880,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 "
\n"; -- cgit v1.2.3-24-g4f1b