diff --git a/module/VuFind/src/VuFind/Search/Summon/Params.php b/module/VuFind/src/VuFind/Search/Summon/Params.php index 17b911c0c65ffc9dfe0cf1e433d559386448defe..e454c4f4cc56506ec7b1c9a4261dba6531486832 100644 --- a/module/VuFind/src/VuFind/Search/Summon/Params.php +++ b/module/VuFind/src/VuFind/Search/Summon/Params.php @@ -82,6 +82,18 @@ class Params extends \VuFind\Search\Base\Params return parent::addFacet($parts[0], $newAlias, $ored); } + /** + * Reset the current facet configuration. + * + * @return void + */ + public function resetFacetConfig() + { + parent::resetFacetConfig(); + $this->dateFacetSettings = []; + $this->fullFacetSettings = []; + } + /** * Get the full facet settings stored by addFacet -- these may include extra * parameters needed by the search results class.