correct twig condition to display pagination

This commit is contained in:
Mathieu 2019-01-17 14:29:45 +01:00
parent 2d76050589
commit 0337f252cd

View File

@ -38,7 +38,7 @@ Then, render the pagination using the dedicated twig function.
</table>
{% if items|length > paginator.getTotalItems %}
{% if items|length < paginator.getTotalItems %}
{{ chill_pagination(paginator) }}
{% endif %}