I was playing with Facet API on D7 just to figure out how it all worked, and when I turned on checkboxes, I still could not select more than one item from the facets. Isn't that the point of the checkboxes? Or is there another way I'd be able to do something like say "I want to filter by items of Content Type A and Content Type C but not Content Type B"? (This could be broken out into another issue if needed; I'm just a bit new to Facet API and want to better understand how all this works in order to help debug it.)

Comments

nick_vh’s picture

Title: Confused about fucntionality/point of checkboxes » AND / OR functionality of the facets (D6)
Version: 7.x-1.0-rc4 » 6.x-3.x-dev

This is not a 7.x issue. It's a 6.x-3.x issue

dandaman’s picture

Well, I'm mostly asking for D6, yes, but even in my brief encounter with D7, I'm confused as how one would select more than one content type with the checkboxes since upon clicking one checkbox it immediately reloads the page with only that box selected. It could be I'm missing something although I've tried to look through all the config screens carefully.

nick_vh’s picture

In D7 there is a checkbox where you can say make this facet AND / OR. That, in combinations with checkboxes widget should make it entirely possible to do OR's with your solr.

(I just verified and for Apachesolr 6.x-3.x they are working fine. Also 7.x is working fine with AND and OR's)

dandaman’s picture

Yeah, I wasn't running the D7 test site for this with Solr, I was running with Search API and couldn't figure out how to do it with that, so there couple be something else not working there.

nick_vh’s picture

Status: Active » Closed (works as designed)

looks like this was resolved, please re-open if this is not justified. Thanks!

Anonymous’s picture

so this is not an option in D7 without SOLR? is there anyway to force the OR using a preprocess function or something similar?