Skip to content
Snippets Groups Projects
Commit 1cc71cb8 authored by Florent Torregrosa's avatar Florent Torregrosa
Browse files

Issue #3347676 by Grimreaper, pdureau: Views mini pager wrong with pagination pattern

parent 664c87aa
No related branches found
No related tags found
1 merge request!60Issue #3347676: Views mini pager wrong with pagination pattern
......@@ -16,12 +16,14 @@
* @ingroup themeable
*/
#}
{% set items = items|merge({
pages: {
(items.current): items.current
}
}) %}
{{ pattern('pagination', {
'items': items,
'current': items.current
}) }}
{% if items.previous or items.next %}
{% set items = items|merge({
pages: {
(items.current): items.current
}
}) %}
{{ pattern('pagination', {
'items': items,
'current': items.current
}) }}
{% endif %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment