diff --git a/web/lib/pkgfuncs.inc b/web/lib/pkgfuncs.inc
index a323984f..0d86ee40 100644
--- a/web/lib/pkgfuncs.inc
+++ b/web/lib/pkgfuncs.inc
@@ -995,7 +995,13 @@ function pkg_search_page($SID="") {
# print "
".__("Manage")." | \n";
# }
- print "\n";
+ print "\n";
+
+ # Solve the sorting problem, so we can force the
+ # passage of the sorting params to the next pages.
+ # Added by: dsa
+ print "";
+ print "";
for ($i=0; $row = mysql_fetch_assoc($result); $i++) {
(($i % 2) == 0) ? $c = "data1" : $c = "data2";