Developer forum

Forum » Feature requests » Repositories needs more paragraph settings

Repositories needs more paragraph settings

Kevin Steffer
Reply

When using and the new repositories Facet-group we need to be able to select which facets we wan't to output to the templates.

And I think it a bit weird that we need to select a facet group and not an Index and a default Query from that index as my source of data for the module.


Replies

 
Nicolai Høeg Pedersen
Reply

Hi Kevin

The facets are thought a bit different in the new index.

You can define as many facet group definitions as you want - so each instance of a product catalog can have a set of facets, and that would define which facets are available.

If you define just one facet group, all those facets will be rendered on the product catalog. Then you can use the optionWithResultCount tag in the facets loop to define if a facet has any results in the context and not display the options for that facet.

Where do you suggest to select which facets to output? It cannot be a group, because if I do a free text search, I do not have a group context...

BR Nicolai

 
Kevin Steffer
Reply

I get your point of defining multiple facet groups, but it's not content editor friendly.

I'd suggest that we'd have a checkbox-list like we have today for the Search Filters, except that it only displays facets from the current facet group selected in the module settings.

We define the alle possible facets once on the index, then content editors can choose which to use on different paragraph module settings.