From a68bd51c967c374e1f7aab0980b8188e7cbc6c9c Mon Sep 17 00:00:00 2001 From: Demian Katz <demian.katz@villanova.edu> Date: Tue, 22 Jan 2013 15:00:47 -0500 Subject: [PATCH] Fixed bug: incorrect config key. --- module/VuFind/src/VuFind/Search/SolrCollection/Options.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/VuFind/src/VuFind/Search/SolrCollection/Options.php b/module/VuFind/src/VuFind/Search/SolrCollection/Options.php index f5d25d71244..e53233ee682 100644 --- a/module/VuFind/src/VuFind/Search/SolrCollection/Options.php +++ b/module/VuFind/src/VuFind/Search/SolrCollection/Options.php @@ -50,9 +50,9 @@ class Options extends \VuFind\Search\Solr\Options // Load sort preferences (or defaults if none in .ini file): $searchSettings = ConfigReader::getConfig('Collection'); - if (isset($searchSettings->Sorting)) { + if (isset($searchSettings->Sort)) { $this->sortOptions = array(); - foreach ($searchSettings->Sorting as $key => $value) { + foreach ($searchSettings->Sort as $key => $value) { $this->sortOptions[$key] = $value; } } else { -- GitLab