diff options
| author | Alexandre Flament <alex@al-f.net> | 2019-07-16 11:08:36 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-07-16 11:08:36 +0200 |
| commit | ddee4861cee8d5b08e9219d4e727acc35fc3ca32 (patch) | |
| tree | 3ad42e60342e90d577c1f83c5e726665163a4a7d /searx/templates | |
| parent | f750df871318c435c40c7d910e5dcd47b350e73d (diff) | |
| parent | 4d38b8bef7de16f741d20839ee5d31a48d499f81 (diff) | |
Merge pull request #1630 from MarcAbonce/bang_fixes
[fix] Small fixes with bangs in queries
Diffstat (limited to 'searx/templates')
| -rw-r--r-- | searx/templates/oscar/results.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/searx/templates/oscar/results.html b/searx/templates/oscar/results.html index ee1052dba..3a1f84067 100644 --- a/searx/templates/oscar/results.html +++ b/searx/templates/oscar/results.html @@ -21,7 +21,7 @@ <span class="result_header text-muted form-inline pull-left suggestion_item">{{ _('Try searching for:') }}</span>
{% for correction in corrections %}
<form method="{{ method or 'POST' }}" action="{{ url_for('index') }}" role="navigation" class="form-inline pull-left suggestion_item">
- <input type="hidden" name="q" value="{{ correction }}">
+ <input type="hidden" name="q" value="{{ query_prefix + correction }}">
<button type="submit" class="btn btn-default btn-xs">{{ correction }}</button>
</form>
{% endfor %}
@@ -118,7 +118,7 @@ <div class="panel-body">
{% for suggestion in suggestions %}
<form method="{{ method or 'POST' }}" action="{{ url_for('index') }}" role="navigation" class="form-inline pull-{% if rtl %}right{% else %}left{% endif %} suggestion_item">
- <input type="hidden" name="q" value="{{ suggestion }}">
+ <input type="hidden" name="q" value="{{ query_prefix + suggestion }}">
<button type="submit" class="btn btn-default btn-xs">{{ suggestion }}</button>
</form>
{% endfor %}
|