Skip to content

Commit

Permalink
[BUGFIX] Setup pageStep if FlexForm is not working (#1346)
Browse files Browse the repository at this point in the history
Co-authored-by: Sebastian Meyer <sebastian.meyer@opencultureconsulting.com>
  • Loading branch information
beatrycze-volk and sebastian-meyer committed Oct 10, 2024
1 parent fdc2975 commit dd77324
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 @@ -294,6 +294,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 dd77324

Please sign in to comment.