Skip to content

Commit

Permalink
Fix event pager (#654)
Browse files Browse the repository at this point in the history
Co-authored-by: Pablo Ogando Ferreira <[email protected]>
  • Loading branch information
albacodina and Yurujai authored Aug 21, 2024
1 parent 852241b commit d12f047
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Pumukit/WebTVBundle/Controller/EventController.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public function indexAction(Request $request): Response

$maxPerPage = $this->columnsObjsEvent * 3;

$pager = $this->paginationService->createArrayAdapter($eventsFuture, $page, $maxPerPage);
$pager = $this->paginationService->createArrayAdapter($eventsFuture, (int) $page, $maxPerPage);

return $this->render('@PumukitWebTV/Live/template.html.twig', [
'eventsToday' => $eventsToday,
Expand Down

0 comments on commit d12f047

Please sign in to comment.