diff --git a/src/Plugin/Field/FieldFormatter/SolrFacetTextFieldFormatter.php b/src/Plugin/Field/FieldFormatter/SolrFacetTextFieldFormatter.php index 1e542d0..71c4a04 100644 --- a/src/Plugin/Field/FieldFormatter/SolrFacetTextFieldFormatter.php +++ b/src/Plugin/Field/FieldFormatter/SolrFacetTextFieldFormatter.php @@ -45,8 +45,8 @@ class SolrFacetTextFieldFormatter extends FormatterBase { $field = $item->getFieldDefinition(); // TODO: more robust fieldname parsing $fieldLabel = str_replace(' ', '_', $field->getLabel()); - $link = Link::fromTextAndUrl($item->value, Url::fromroute('view.solr_search_content.page_1', - [], ['query' => ['f[0]' => $fieldLabel . ':' . $item->value]])); + $link = Link::fromTextAndUrl($item->value, Url::fromroute('view.herbarium_search.page_1', + [], ['query' => ['search_api_fulltext' => '','herbarium-search[0]' => $fieldLabel . ':' . $item->value]])); $element[$delta] = [$link->toRenderable()]; }