Skip to content

Commit 039e51b

Browse files
committed
[BUGFIX] Posts overview causes endless loop
The blog posts overview caused an endless loop because of the way ${this.currentPage} was used in the TypoScript setup. This change contains a workaround for the – apparently – bug in Neos 2.0. Closes #15.
1 parent 1f20a00 commit 039e51b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Resources/Private/TypoScript/Root.ts2

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,14 +83,13 @@ prototype(RobertLemke.Plugin.Blog:PostsOverview) < prototype(TYPO3.Neos:Content)
8383
mode = 'cached'
8484
entryIdentifier {
8585
documentNode = ${node}
86-
currentPage = ${this.currentPage}
86+
currentPage = ${request.pluginArguments.posts-paginator.currentPage}
8787
}
8888
entryTags {
8989
1 = ${'Node_' + node.identifier}
9090
2 = ${'DescendantOf_' + q(node).property('_identifier')}
9191
}
9292
}
93-
9493
}
9594

9695
#

0 commit comments

Comments
 (0)