Sorting, and viewing more results resets the search if you search for '#' in 1.5.3. This should fix that bug.
Signed-off-by: Loui Chang <louipc....@gmail.com> --- web/template/pkg_search_results.php | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/web/template/pkg_search_results.php b/web/template/pkg_search_results.php index 5af02ef..2087abc 100644 --- a/web/template/pkg_search_results.php +++ b/web/template/pkg_search_results.php @@ -1,3 +1,7 @@ +<?php +# Encode search string +$K = urlencode($K); +?> <form action='packages.php?<?php print $_SERVER['QUERY_STRING'] ?>' method='post'> <center> -- 1.6.0.5