From 146a86593623783575fc428f08ed110cbc31b892 Mon Sep 17 00:00:00 2001 From: Benjamin Kott Date: Mon, 8 Dec 2014 23:45:25 +0100 Subject: [PATCH] [BUGFIX] Wrong calculation in news pagination - fixes #106 --- Configuration/ContentElements/Base.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Configuration/ContentElements/Base.ts b/Configuration/ContentElements/Base.ts index acda0387d..5ee6b2cac 100644 --- a/Configuration/ContentElements/Base.ts +++ b/Configuration/ContentElements/Base.ts @@ -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 }