1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-04 22:40:12 +01:00

Fix browser search: switch back to page 1 when submitting new query

This commit is contained in:
Marcel Klehr 2014-01-25 14:13:37 +01:00
parent 61a61824d4
commit c200f18bf5

View File

@ -99,6 +99,7 @@ class FDroid
} else {
$out.='<form name="searchform" action="" method="get">';
$out.='<p><input name="fdfilter" type="text" value="'.sanitize_text_field($query_vars['fdfilter']).'" size="30"> ';
$out.='<input type="hidden" name="fdpage" value="1">';
$out.='<input type="submit" value="Search"></p>';
$out.=$this->makeformdata($query_vars);
$out.='</form>'."\n";