Skip to content

Commit

Permalink
Add hierarchical facet helper to search2 results (#1678)
Browse files Browse the repository at this point in the history
  • Loading branch information
xmorave2 authored Jul 17, 2020
1 parent a2cfa43 commit 0e63607
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions module/VuFind/src/VuFind/Search/Search2/ResultsFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ public function __invoke(ContainerInterface $container, $requestedName,
$solr->setSpellingProcessor(
new \VuFind\Search\Solr\SpellingProcessor($config->Spelling ?? null)
);
$solr->setHierarchicalFacetHelper(
$container->get(\VuFind\Search\Solr\HierarchicalFacetHelper::class)
);
return $solr;
}
}

0 comments on commit 0e63607

Please sign in to comment.