diff --git a/module/VuFind/src/VuFind/Controller/CollectionController.php b/module/VuFind/src/VuFind/Controller/CollectionController.php index f99ad4c83524ba4ede0fe6591818545631c6e41b..89a630693d7a694bd7a2043fad16176eab9fb92b 100644 --- a/module/VuFind/src/VuFind/Controller/CollectionController.php +++ b/module/VuFind/src/VuFind/Controller/CollectionController.php @@ -81,4 +81,16 @@ class CollectionController extends AbstractRecord } return $result; } + + /** + * Is the result scroller active? + * + * @return bool + */ + protected function resultScrollerActive() + { + $config = $this->getServiceLocator()->get('VuFind\Config')->get('config'); + return (isset($config->Record->next_prev_navigation) + && $config->Record->next_prev_navigation); + } }