Skip to content

Commit

Permalink
TTK-27131: Fix paginator oc-importer
Browse files Browse the repository at this point in the history
  • Loading branch information
albacodina committed Aug 29, 2024
1 parent 0de0218 commit 22808df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Controller/MediaPackageController.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public function indexAction(Request $request): Response
$pics[$mediaPackage['id']] = $this->opencastService->getMediaPackageThumbnail($mediaPackage);
}

$pager = $this->paginationService->createFixedAdapter($total, $mediaPackages, $page, $limit);
$pager = $this->paginationService->createFixedAdapter($total, $mediaPackages, (int) $page, $limit);

$repo = $repository_multimediaObjects->createQueryBuilder()
->field('properties.opencast')->exists(true)
Expand Down

0 comments on commit 22808df

Please sign in to comment.