From 0337f252cdc89a58ddb32ebd0f3a7e29d4f0ecd6 Mon Sep 17 00:00:00 2001 From: Mathieu Date: Thu, 17 Jan 2019 14:29:45 +0100 Subject: [PATCH] correct twig condition to display pagination --- source/development/pagination.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/development/pagination.rst b/source/development/pagination.rst index cc223a5ef..44c06b308 100644 --- a/source/development/pagination.rst +++ b/source/development/pagination.rst @@ -38,7 +38,7 @@ Then, render the pagination using the dedicated twig function. - {% if items|length > paginator.getTotalItems %} + {% if items|length < paginator.getTotalItems %} {{ chill_pagination(paginator) }} {% endif %}