diff options
author | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-06-24 21:50:34 +0200 |
---|---|---|
committer | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-06-24 21:50:34 +0200 |
commit | 3f47eb8202388dde33584ce6e344f96ffe78f195 (patch) | |
tree | 71ffa6d99620e629e5cc4d21d2079cdd800f40d8 /source | |
parent | Removed the limit of results for the search with whoosh. (diff) | |
download | newspipe-3f47eb8202388dde33584ce6e344f96ffe78f195.tar.gz newspipe-3f47eb8202388dde33584ce6e344f96ffe78f195.tar.bz2 newspipe-3f47eb8202388dde33584ce6e344f96ffe78f195.zip |
Added a button to reindex the database on the /search page.
Diffstat (limited to 'source')
-rw-r--r-- | source/static/templates/search.html | 5 |
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 |