summaryrefslogtreecommitdiff
path: root/searx/templates/simple
diff options
context:
space:
mode:
authorDalf <alex@al-f.net>2019-07-16 16:27:29 +0200
committerDalf <alex@al-f.net>2019-07-17 09:05:29 +0200
commitc7220b40ead8c53b21e1533d23ffff8ae3b831bd (patch)
tree7131623994ea3f4bfe3e6cf7bfa0c2895918925d /searx/templates/simple
parentddee4861cee8d5b08e9219d4e727acc35fc3ca32 (diff)
downloadsearxng-c7220b40ead8c53b21e1533d23ffff8ae3b831bd.tar.gz
searxng-c7220b40ead8c53b21e1533d23ffff8ae3b831bd.zip
Suggestions: use RawTextQuery to make the suggestions URLs. Update all themes accordingly.
Diffstat (limited to 'searx/templates/simple')
-rw-r--r--searx/templates/simple/results.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/searx/templates/simple/results.html b/searx/templates/simple/results.html
index 195c478db..a8e899e57 100644
--- a/searx/templates/simple/results.html
+++ b/searx/templates/simple/results.html
@@ -50,11 +50,11 @@
<div class="wrapper">
{% for suggestion in suggestions %}
<form method="{{ method or 'POST' }}" action="{{ url_for('index') }}">
- <input type="hidden" name="q" value="{{ suggestion }}">
+ <input type="hidden" name="q" value="{{ suggestion.url }}">
<input type="hidden" name="language" value="{{ current_language }}">
<input type="hidden" name="safesearch" value="{{ safesearch }}">
<input type="hidden" name="theme" value="{{ theme }}">
- <input type="submit" class="suggestion" value="&bull; {{ suggestion }}">
+ <input type="submit" class="suggestion" value="&bull; {{ suggestion.title }}">
</form>
{% endfor %}
</div>