Discussions
Filter Tag with with_scope doesne't work
10 years ago by Tobias Zoll
Hi,
i got a problem while trying to filter my blog entries through with_scope. In wagon my filter system it worked quiet well. But when i deploy it to my locomotive site it won't filter these entries anymore.
Here is my Code:
{% assign currenttag = params['tag'] %}
{% with_scope tags: currenttag %}
{% paginate contents.blog by 5 %}
{% for post in paginate.collection %}
{% endfor %}
{% if paginate.previous_page %}
arrow_back
{% endif %}
{% if paginate.next %}
arrow_forward
{% endif %}
arrow_back
{% endif %}
{% if paginate.next %}
arrow_forward
{% endif %}
{% endpaginate %}
{% endwith_scope %}


