aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Bonhomme <kimble.mandel@gmail.com>2013-06-24 21:50:34 +0200
committerCédric Bonhomme <kimble.mandel@gmail.com>2013-06-24 21:50:34 +0200
commit3f47eb8202388dde33584ce6e344f96ffe78f195 (patch)
tree71ffa6d99620e629e5cc4d21d2079cdd800f40d8
parentRemoved the limit of results for the search with whoosh. (diff)
downloadnewspipe-3f47eb8202388dde33584ce6e344f96ffe78f195.tar.gz
newspipe-3f47eb8202388dde33584ce6e344f96ffe78f195.tar.bz2
newspipe-3f47eb8202388dde33584ce6e344f96ffe78f195.zip
Added a button to reindex the database on the /search page.
-rw-r--r--source/static/templates/search.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/static/templates/search.html b/source/static/templates/search.html
index 9a635935..435ef443 100644
--- a/source/static/templates/search.html
+++ b/source/static/templates/search.html
@@ -9,6 +9,11 @@ import utils
%else:
<h1>String <i>${query}</i> not found.</h1>
%endif
+<br />
+<form method=get action="/index_base">
+ <input type="submit" value="Reindex database" />
+</form>
+
<%
html = ""
feed_id = None
bgstack15