chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61a6182
)
Fix browser search: switch back to page 1 when submitting new query
author
Marcel Klehr
<mklehr@gmx.net>
Sat, 25 Jan 2014 13:13:37 +0000
(14:13 +0100)
committer
Marcel Klehr
<mklehr@gmx.net>
Sat, 25 Jan 2014 13:13:37 +0000
(14:13 +0100)
wp-fdroid/wp-fdroid.php
patch
|
blob
|
history
diff --git
a/wp-fdroid/wp-fdroid.php
b/wp-fdroid/wp-fdroid.php
index 792db5b4cf09b52fe0c34ee642caa5cdaa5df82f..1468422e8b7c6817443459189bcae9df821f628a 100644
(file)
--- a/
wp-fdroid/wp-fdroid.php
+++ b/
wp-fdroid/wp-fdroid.php
@@
-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";