Skip to content
Snippets Groups Projects

3416272 No pagination when no result

1 file
+ 2
0
Compare changes
  • Side-by-side
  • Inline
@@ -32,7 +32,9 @@
* @ingroup themeable
*/
#}
{% if items.pages|length %}
{{ pattern("pagination", {
"total": "@current of @total"|t({"@current": current, "@total": items.pages|length}),
"controls": controls,
}) }}
{% endif %}
Loading