fix listview numeration

This commit is contained in:
Christopher Timm 2020-03-13 09:14:21 +01:00
parent 85cc9d4659
commit 405b3d9770
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ class ListView extends \Kitodo\Dlf\Common\AbstractPlugin
*/
protected function getEntry($number, $template)
{
$markerArray['###NUMBER###'] = $number + 1;
$markerArray['###NUMBER###'] = ($this->piVars['pointer'] * $this->conf['limit']) + $number + 1;
$markerArray['###METADATA###'] = '';
$markerArray['###THUMBNAIL###'] = '';
$markerArray['###PREVIEW###'] = '';