mirror of
https://github.com/f-droid/fdroidserver.git
synced 2026-10-22 04:06:52 -04:00
Fix browser search: switch back to page 1 when submitting new query
This commit is contained in:
1 parent
61a61824d4
commit
c200f18bf5
1 file changed
+1
@@ -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";
|
||||
|
||||
Reference in new issue
Block a user