Skip to content

Commit

Permalink
Look to facet config for whether any should be displayed, since a nul…
Browse files Browse the repository at this point in the history
…l $filter means display all of them
  • Loading branch information
maccabeelevine committed Jan 29, 2025
1 parent c2e6276 commit 8248d16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module/VuFind/src/VuFind/Search/ProQuestFSG/Results.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8248d16

Please sign in to comment.