[TYPO3-Solr] Text label for active category filter/facet

Bert Hiddink [BENDOO e-work solutions] hiddink at bendoo.nl
Tue Jun 7 16:22:18 CEST 2016


Hello,

I have configured a sys_category-filter/facet, which shows the category 
tree when searching.
Upon selecting one category, it gets activated and is displayed under 
"active filters", but here it is only shown as "Categories: 123", so 
instead of showing the category title, the id is shown.

I set:

plugin.tx_solr.search.faceting.removeFacetLinkText = @facetLabel: @facetText

But how can I get the category name instead of @facetText (= category 
id)? Only other variables available according to the template are 
@facetValue, which is the number-representation of the category as used 
by solr ("0-5/12-58" etc) @facetName, which is the name of the facet as 
defined in TS ("hierarchicalCategory_stringM"), @facetLabel, which is 
the label "Categories".


Is this a bug or do I miss something?

Thanks and regards,
Bert


More information about the TYPO3-project-solr mailing list