diff --git a/module/VuFind/src/VuFind/Search/SolrCollection/Options.php b/module/VuFind/src/VuFind/Search/SolrCollection/Options.php index f5d25d712440a933148577a42127de1e93a66ca1..e53233ee6829163b0cbbeea0fef6b8694ba7a301 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 {