From 9957a8ffe3fa24fd0ae1e97d5ca12f2e31d38349 Mon Sep 17 00:00:00 2001
From: Demian Katz <demian.katz@villanova.edu>
Date: Mon, 13 Oct 2014 21:45:26 -0400
Subject: [PATCH] Fixed typos.

---
 module/VuFind/src/VuFind/Controller/PrimorecordController.php | 2 +-
 module/VuFind/src/VuFind/Search/Primo/Params.php              | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/module/VuFind/src/VuFind/Controller/PrimorecordController.php b/module/VuFind/src/VuFind/Controller/PrimorecordController.php
index 171f2548e3a..9acb1f60b16 100644
--- a/module/VuFind/src/VuFind/Controller/PrimorecordController.php
+++ b/module/VuFind/src/VuFind/Controller/PrimorecordController.php
@@ -59,7 +59,7 @@ class PrimorecordController extends AbstractRecord
      */
     protected function resultScrollerActive()
     {
-        $config = $this->getServiceLocator()->get('VuFind\Config')->get('Summon');
+        $config = $this->getServiceLocator()->get('VuFind\Config')->get('Primo');
         return (isset($config->Record->next_prev_navigation)
             && $config->Record->next_prev_navigation);
     }
diff --git a/module/VuFind/src/VuFind/Search/Primo/Params.php b/module/VuFind/src/VuFind/Search/Primo/Params.php
index 4df764392c9..8d78c5ec6f7 100644
--- a/module/VuFind/src/VuFind/Search/Primo/Params.php
+++ b/module/VuFind/src/VuFind/Search/Primo/Params.php
@@ -49,7 +49,7 @@ class Params extends \VuFind\Search\Base\Params
         $backendParams = new ParamBag();
 
         // The "relevance" sort option is a VuFind reserved word; we need to make
-        // this null in order to achieve the desired effect with Summon:
+        // this null in order to achieve the desired effect with Primo:
         $sort = $this->getSort();
         $finalSort = ($sort == 'relevance') ? null : $sort;
         $backendParams->set('sort', $finalSort);
-- 
GitLab