Skip to content

Commit

Permalink
Setup pageStep if FlexForm is not working
Browse files Browse the repository at this point in the history
  • Loading branch information
beatrycze-volk committed Sep 24, 2024
1 parent c5d13ea commit 1fe0976
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Classes/Controller/AbstractController.php
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,10 @@ protected function sanitizeSettings(): void
$this->setDefaultIntSetting('displayIiifLinks', 1);
}

if ($this instanceof NavigationController) {
$this->setDefaultIntSetting('pageStep', 5);
}

if ($this instanceof OaiPmhController) {
$this->setDefaultIntSetting('limit', 5);
$this->setDefaultIntSetting('solr_limit', 50000);
Expand Down

0 comments on commit 1fe0976

Please sign in to comment.