Skip to content

Commit

Permalink
fix #baserproject#4099 5.0.x系にて、カスタムコンテンツ一覧表示件数が管理画面通りにならない問題を解決
Browse files Browse the repository at this point in the history
  • Loading branch information
kato committed Dec 24, 2024
1 parent ad4cadc commit 4a5e379
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,10 @@ public function index(CustomContentFrontServiceInterface $service)

$this->set($service->getViewVarsForIndex(
$customContent,
$this->paginate($service->getCustomEntries($customContent, $this->getRequest()->getQueryParams()))
$this->paginate(
$service->getCustomEntries($customContent, $this->getRequest()->getQueryParams()),
['limit' => $customContent->list_count]
)
));
$this->setRequest($this->getRequest()->withParsedBody($this->getRequest()->getQueryParams()));
$this->render($service->getIndexTemplate($customContent));
Expand Down

0 comments on commit 4a5e379

Please sign in to comment.