Skip to content

Commit 016790c

Browse files
committed
[FIXUP] implement useGroup
1 parent fdac1e7 commit 016790c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Classes/Controller/PageViewController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,7 @@ protected function getImage(int $page, MetsDocument $specificDoc = null): array
635635

636636
foreach ($useGroups as $useGroup) {
637637
// Get file info for the specific page and file group
638-
$file = $this->fetchFileInfo($page, $fileGrpImages, $specificDoc);
638+
$file = $this->fetchFileInfo($page, $useGroup, $specificDoc);
639639

640640
if ($file && Helper::filterFilesByMimeType($file, ['image'], true, 'mimeType')) {
641641
$image['url'] = $file['location'];

0 commit comments

Comments
 (0)