From 8248d165cd76f46555a54627c3bcb4644704e783 Mon Sep 17 00:00:00 2001 From: Maccabee Levine Date: Wed, 29 Jan 2025 21:12:45 +0000 Subject: [PATCH] Look to facet config for whether any should be displayed, since a null $filter means display all of them --- module/VuFind/src/VuFind/Search/ProQuestFSG/Results.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/VuFind/src/VuFind/Search/ProQuestFSG/Results.php b/module/VuFind/src/VuFind/Search/ProQuestFSG/Results.php index 4cfb25b87f5..77942f17e92 100644 --- a/module/VuFind/src/VuFind/Search/ProQuestFSG/Results.php +++ b/module/VuFind/src/VuFind/Search/ProQuestFSG/Results.php @@ -128,7 +128,7 @@ protected function storeErrorResponse(string|array $error): void */ public function getFacetList($filter = null) { - if (!empty($filter) && empty($this->simplifiedResponseFacets)) { + if (!empty($this->getParams()->getFacetConfig()) && empty($this->simplifiedResponseFacets)) { // Save actual search data $resultTotal = $this->resultTotal; $results = $this->results;