new lists

This commit is contained in:
gauthiier
2019-08-24 13:06:59 +02:00
parent 6138fcf640
commit 849e57f450
5 changed files with 65 additions and 27 deletions
+2
View File
@@ -20,6 +20,8 @@ def favicon():
def searh():
if len(request.args) < 1:
# q: list all table or keep predefined wconfig.lists_to_serve?
wconfig.lists_to_serve = archive.show_tables_db(config.db['database'], config.db['host'], config.db['user'], config.db['password'])
return render_template("search.html", archives=wconfig.lists_to_serve, fields=['content', 'from'])
k_arg = request.args.get('keyword')