diff --git a/module/VuFind/src/VuFind/Controller/Plugin/ResultScroller.php b/module/VuFind/src/VuFind/Controller/Plugin/ResultScroller.php index c34b6ed0c9804412be228608a288d88100d8e1e7..6383f83cc9c735a03e523b873a5ede9ba11439ed 100644 --- a/module/VuFind/src/VuFind/Controller/Plugin/ResultScroller.php +++ b/module/VuFind/src/VuFind/Controller/Plugin/ResultScroller.php @@ -566,8 +566,8 @@ class ResultScroller extends AbstractPlugin if (!empty($row)) { $minSO = $row->getSearchObject(); $search = $minSO->deminify($this->resultsManager); - // The saved search does not remember its original limit; - // we should reapply it from the session data: + // The saved search does not remember its original limit or sort; + // we should reapply them from the session data: $search->getParams()->setLimit($this->data->limit); $search->getParams()->setSort($this->data->sort); return $search;