Merge pull request #491 from effective-webwork/listview_numeration

Listview numeration
This commit is contained in:
Sebastian Meyer 2020-03-13 11:59:56 +01:00 committed by GitHub
commit 6f63c4438d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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###'] = '';