Skip to content

Commit

Permalink
[BUGFIX] Wrong calculation in news pagination - fixes #106
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminkott committed Dec 8, 2014
1 parent f8ad4af commit 146a865
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Configuration/ContentElements/Base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1077,7 +1077,7 @@ tt_content.menu.20 {
paginateStart.cObject = TEXT
paginateStart.cObject {
data = register:paginateCurrentPage
stdWrap.wrap = (|-1)*{$page.theme.news.pagination.itemsperpage}
stdWrap.wrap = ((|-1)*{$page.theme.news.pagination.itemsperpage})+1
stdWrap.insertData = 1
prioriCalc = 1
}
Expand Down

0 comments on commit 146a865

Please sign in to comment.