mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 22:42:29 +03:00
Fix browser search: switch back to page 1 when submitting new query
This commit is contained in:
parent
61a61824d4
commit
c200f18bf5
1 changed files with 1 additions and 0 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue