-3

I have a search page with a faceted filter on 'Content Type' field.

I basically need to merge some of the content types into one single facet.

Example:

  • Content Type A(20)
  • Content Type B(30)
  • Other Type(40)

Should be turned into:

  • All(90)
  • Content Type A(20)
  • Content Type B(30)
  • Other Type(40)

How can I achieve this?

My Drupal 8 setup for this scenario is the following:

Search API + Facets + Views

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.