Skip to content

Commit

Permalink
Merge branch 'release/3.2.2.8'
Browse files Browse the repository at this point in the history
  • Loading branch information
tarunbhardwaj committed Jan 17, 2015
2 parents 7ef6765 + be49b9a commit 7be735f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
20 changes: 11 additions & 9 deletions templates/webshop/search-results.jinja
Expand Up @@ -20,15 +20,17 @@
<input type="hidden" name="q" value="{{ request.args.get('q') }}" />
<input type="hidden" name="page" value="1"/>
{% for key, value in facets.iteritems() %}
<ul class="list-unstyled">
<lh class="text-capitalize"><strong>{{ key }}</strong></lh>
{% set facet_checked = request.args.getlist(key) %}
{% for term in value['terms'] %}
<li>
{{ render_search_filter_field(term, facet_checked, key) }}
</li>
{% endfor %}
</ul>
{% if value['total'] %}
<ul class="list-unstyled">
<lh class="text-capitalize"><strong>{{ key }}</strong></lh>
{% set facet_checked = request.args.getlist(key) %}
{% for term in value['terms'] %}
<li>
{{ render_search_filter_field(term, facet_checked, key) }}
</li>
{% endfor %}
</ul>
{% endif %}
{% endfor %}
<a href="{{ url_for('nereid.website.quick_search', q=request.args.get('q', '')) }}" class="btn btn-block btn-default">{% trans %}Clear Filters{% endtrans %}</a>
</form>
Expand Down
2 changes: 1 addition & 1 deletion tryton.cfg
@@ -1,5 +1,5 @@
[tryton]
version=3.2.2.7
version=3.2.2.8
depends:
nereid
nereid_cms
Expand Down

0 comments on commit 7be735f

Please sign in to comment.