Skip to content
Snippets Groups Projects
Commit e301ee5e authored by Demian Katz's avatar Demian Katz
Browse files

Reset special Summon facets when necessary.

parent 7be2a22c
No related merge requests found
...@@ -82,6 +82,18 @@ class Params extends \VuFind\Search\Base\Params ...@@ -82,6 +82,18 @@ class Params extends \VuFind\Search\Base\Params
return parent::addFacet($parts[0], $newAlias, $ored); 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 * Get the full facet settings stored by addFacet -- these may include extra
* parameters needed by the search results class. * parameters needed by the search results class.
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment