?_facet_size=max, ... now links to that, closes #1337

Refs #1332
This commit is contained in:
Simon Willison 2021-05-27 09:00:58 -07:00
commit 7e983fede6
5 changed files with 86 additions and 13 deletions

View file

@ -162,7 +162,9 @@
{% endif %}
{% endfor %}
{% if facet_info.truncated %}
<li>...</li>
<li class="facet-truncated">{% if request.args._facet_size != "max" -%}
<a href="{{ path_with_replaced_args(request, {"_facet_size": "max"}) }}"></a>{% else -%}…{% endif %}
</li>
{% endif %}
</ul>
</div>