2

I am using Facet API + Search API to develop Filtering for the data within my site. I am also using Ajax Facet Filters to process the selection as soon as it's clicked.

It all came out great but there's one slight problem. I can only select one option per category. As soon as I select an option, all the inactive options hide and only the active (clicked one) shows.

I want the option to select multiple option but with my settings of Facet API & Search API, there seems to be no option.

Here's the picture to explain. enter image description here

I'll be very thankful for any assistance.

Best.

1
  • A note for aklumps answer. This is only possible if your backend is the solr api. It doesn't work with the search database api backend. Sep 4, 2014 at 8:27

2 Answers 2

3

I found the first comment here to answer this question.

the OR operator is required for the facet instead of the default AND. If the implementing search module you are using supports OR facets, you will have an option in the "Global settings" fieldset located in the bottom left hand corner of the facet's display settings form.

enter image description here

0

You can follow the below step:

  • Go to Administration -> Configuration -> Search and metadata
  • Click on Search api link and it redirect you to search api page.
  • Go to facet page using facet link from drop down.
  • Select Configure filters from drop down in your active filters and it will redirect you to filter configuration page. search filter
  • You can unchecked check-box Hide items that do not change search result. to show all filters. search filter 2

Kindly see that you can unchecked other check-boxes to configure different functionality.

2
  • Thanks a lot for your answer Jayendra, but I can't see this option. What I see is shown here :- i.stack.imgur.com/gFP5T.png
    – user219492
    Dec 5, 2013 at 18:25
  • May be you are using different version of facet api and search api. Have you checked each check-box? I think, it should be do not display item that do not narrow results check-box. Dec 6, 2013 at 2:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.