Skip to content
Snippets Groups Projects
Commit fb62135f authored by Demian Katz's avatar Demian Katz Committed by Robert Lange
Browse files

Move EDS checkbox initialization to a more logical place.

parent 3f19409c
No related merge requests found
...@@ -79,6 +79,19 @@ class Params extends \VuFind\Search\Base\Params ...@@ -79,6 +79,19 @@ class Params extends \VuFind\Search\Base\Params
*/ */
public $isSetupOnly = false; public $isSetupOnly = false;
/**
* Constructor
*
* @param \VuFind\Search\Base\Options $options Options to use
* @param \VuFind\Config\PluginManager $configLoader Config loader
*/
public function __construct($options, \VuFind\Config\PluginManager $configLoader)
{
parent::__construct($options, $configLoader);
$this->addLimitersAsCheckboxFacets($options);
$this->addExpandersAsCheckboxFacets($options);
}
/** /**
* Pull the search parameters * Pull the search parameters
* *
...@@ -167,8 +180,6 @@ class Params extends \VuFind\Search\Base\Params ...@@ -167,8 +180,6 @@ class Params extends \VuFind\Search\Base\Params
} }
} }
} }
$this->addLimitersAsCheckboxFacets($options);
$this->addExpandersAsCheckboxFacets($options);
} }
/** /**
......
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