summaryrefslogtreecommitdiff
path: root/searx/templates
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2019-08-02 20:38:53 +0200
committerGitHub <noreply@github.com>2019-08-02 20:38:53 +0200
commitd24e7948ebd8aaa25a1907c225e1d2d3de37c17c (patch)
treece1e1b941d61e7b7c5e8837d3e3350827d6f8b8c /searx/templates
parent72029d27ded8d93ab891c616d6bffbe8d3a67dd2 (diff)
parentba80a0ba380d0177634a471f38142f840e06b9b5 (diff)
Merge pull request #1665 from dalf/fix-paging
[fix] fix paging for the oscar theme after PR #1640 Close #1664
Diffstat (limited to 'searx/templates')
-rw-r--r--searx/templates/oscar/results.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/templates/oscar/results.html b/searx/templates/oscar/results.html
index ce557daf9..9a95265b9 100644
--- a/searx/templates/oscar/results.html
+++ b/searx/templates/oscar/results.html
@@ -5,7 +5,7 @@
<input type="hidden" name="pageno" value="{{ pageno }}" />
<input type="hidden" name="time_range" value="{{ time_range }}" />
<input type="hidden" name="language" value="{{ current_language }}" />
- <input type="hidden" name="timeout_limit" value="{{ timeout_limit }}" />
+ {% if timeout_limit %}<input type="hidden" name="timeout_limit" value="{{ timeout_limit|e }}" />{% endif %}
{%- endmacro %}
{%- macro search_url() %}{{ base_url }}?q={{ q|urlencode }}{% if selected_categories %}&amp;categories={{ selected_categories|join(",") | replace(' ','+') }}{% endif %}{% if pageno > 1 %}&amp;pageno={{ pageno }}{% endif %}{% if time_range %}&amp;time_range={{ time_range }}{% endif %}{% if current_language != 'all' %}&amp;language={{ current_language }}{% endif %}{% endmacro -%}