Code source wiki de SolrTypeFacet
Modifié par Thomas Mortagne le 2022/06/29 13:01
Masquer les derniers auteurs
author | version | line-number | content |
---|---|---|---|
1.1 | 1 | {{velocity}} | |
2 | #macro (displaySearchFacetValue_type $type) | ||
3 | $escapetool.xml($services.localization.render("solr.filterBy.type.$type.toLowerCase()")) | ||
4 | #end | ||
5 | ## We have to reset the sort when the result type selection changes because the sort fields depend on the selected result type. | ||
6 | {{html clean="false"}}#displaySearchFacetValues($facetValues {'sort': [], 'sortOrder': []} 'displaySearchFacetValue_type'){{/html}} | ||
7 | {{/velocity}} |