Skip to content
Snippets Groups Projects
Commit 2ce29c6a authored by Stefan Galinski's avatar Stefan Galinski :video_game:
Browse files

[BUGFIX] Fix offset issue that caused an initial loaded news

parent 08b52a0e
No related branches found
Tags 3.2.4
No related merge requests found
......@@ -96,7 +96,7 @@ class OverviewController extends AbstractController {
$offset = 0;
$currentPageBrowserPage = (int) GeneralUtility::_GP('tx_sgnews_pagebrowser')['currentPage'];
if ($currentPageBrowserPage && $newsLimitPerCategory) {
$offset = ($currentPageBrowserPage * $newsLimitPerCategory) - 1;
$offset = $currentPageBrowserPage * $newsLimitPerCategory;
}
if ($this->settings['onlyNewsWithinThisPageSection']) {
......
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