Skip to content
Snippets Groups Projects
Commit b95cb891 authored by Demian Katz's avatar Demian Katz
Browse files

Merge branch 'release-2.3'

parents 01bcc516 9957a8ff
No related merge requests found
...@@ -59,7 +59,7 @@ class PrimorecordController extends AbstractRecord ...@@ -59,7 +59,7 @@ class PrimorecordController extends AbstractRecord
*/ */
protected function resultScrollerActive() 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) return (isset($config->Record->next_prev_navigation)
&& $config->Record->next_prev_navigation); && $config->Record->next_prev_navigation);
} }
......
...@@ -49,7 +49,7 @@ class Params extends \VuFind\Search\Base\Params ...@@ -49,7 +49,7 @@ class Params extends \VuFind\Search\Base\Params
$backendParams = new ParamBag(); $backendParams = new ParamBag();
// The "relevance" sort option is a VuFind reserved word; we need to make // 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(); $sort = $this->getSort();
$finalSort = ($sort == 'relevance') ? null : $sort; $finalSort = ($sort == 'relevance') ? null : $sort;
$backendParams->set('sort', $finalSort); $backendParams->set('sort', $finalSort);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment