Commit f3bb20f6 authored by borisson_'s avatar borisson_
Browse files

Small codestyle fix

parent 1355fe70
......@@ -306,7 +306,7 @@ abstract class AdapterPluginBase extends PluginBase implements AdapterInterface,
* @todo For clarity, should this method be named buildFacets()?
*/
public function processFacets() {
if (! $this->processed) {
if (!$this->processed) {
// First add the results to the facets.
$this->updateResults();
......
......@@ -48,6 +48,11 @@ class UrlProcessorQueryString extends UrlProcessorPluginBase{
$results = $facet->getResults();
// No results are found for this facet, so dont try to create urls.
if (is_null($results)) {
return;
}
foreach ($results as $result) {
$filter_string = $facet->getFieldAlias() . ':' . $result->getValue();
$result_get_params = clone $get_params;
......
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