From d09d6e5ce2cdadc28ddb76e5c8be5f7a84999956 Mon Sep 17 00:00:00 2001
From: Demian Katz <demian.katz@villanova.edu>
Date: Wed, 1 Mar 2017 09:09:12 -0500
Subject: [PATCH] Updated comment.

---
 module/VuFind/src/VuFind/Controller/Plugin/ResultScroller.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/module/VuFind/src/VuFind/Controller/Plugin/ResultScroller.php b/module/VuFind/src/VuFind/Controller/Plugin/ResultScroller.php
index c34b6ed0c98..6383f83cc9c 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;
-- 
GitLab