commit: 8ee32d5372c25e92c4b9023bfca780d328f2841f
parent: 2f7752b410c449aac463c248c0b7e41f69b6b07b
Author: Adam Tauber <asciimoo@gmail.com>
Date: Tue, 28 Jun 2016 00:21:18 +0200
[fix] hide number of results if 0
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/searx/templates/oscar/results.html b/searx/templates/oscar/results.html
@@ -78,7 +78,7 @@
</div><!-- /#main_results -->
<div class="col-sm-4" id="sidebar_results">
- {% if number_of_results %}
+ {% if number_of_results != '0' %}
<div class="panel panel-default">
<div class="panel-heading">
<h4 class="panel-title">{{ _('Number of results') }}</h4>