Commit f096d48b authored by Robert Elwell's avatar Robert Elwell

Inject collate params into the request

parent a3467d67
......@@ -71,6 +71,11 @@ class Solarium_Client_RequestBuilder_Select_Component_Spellcheck
$request->addParam('spellcheck.collateExtendedResults', $component->getCollateExtendedResults());
$request->addParam('spellcheck.accuracy', $component->getAccuracy());
foreach ( $component->getCollateParams() as $param => $value )
{
$request->addParam('spellcheck.collateParam.'.$param, $value);
}
return $request;
}
}
\ No newline at end of file
Markdown is supported
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