From: Matthias Schmidt Date: Wed, 10 Oct 2018 15:38:21 +0000 (+0200) Subject: Fix pagination of pip entry list X-Git-Tag: 5.2.0_Alpha_1~664 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=98360e13fdf07208b6e59788c3ff2a5194371d4c;p=GitHub%2FWoltLab%2FWCF.git Fix pagination of pip entry list `$startIndex` begins with `1` instead of `0`, as expected by the `getEntries()` method. --- diff --git a/wcfsetup/install/files/acp/templates/devtoolsProjectPipEntryList.tpl b/wcfsetup/install/files/acp/templates/devtoolsProjectPipEntryList.tpl index 684f970194..790f79ab7d 100644 --- a/wcfsetup/install/files/acp/templates/devtoolsProjectPipEntryList.tpl +++ b/wcfsetup/install/files/acp/templates/devtoolsProjectPipEntryList.tpl @@ -70,7 +70,7 @@ - {foreach from=$entryList->getEntries($startIndex, $itemsPerPage) key=identifier item=entry} + {foreach from=$entryList->getEntries($startIndex-1, $itemsPerPage) key=identifier item=entry} {foreach from=$entryList->getKeys() key=key item=languageItem}