Hi all,
I need help about a not-standard use of facets of the exibit module.
I tried to use facet and I have understand that all terms in the same facet produce an "OR" query and find all records that satisfy OR the first term, OR the second, OR the n. term.
The question is:
can I setup my facet to make an "AND" query?
E.G. this is my project about B&B in the province of Parma(Italy):
http://bbparma.hachreak.org/it/research/bb
if I put a check to the 2 terms in my facet:
"animals allowed" (animali ammessi 12) and "internet" (10), I got back all records containing both terms, and I receive 16 results.
What I need is those checkings could work as filters, I mean, if I put a check to "animals allowed" (animali ammessi 12) and to "internet" (10) I must get back only results which have at same time both features.
How can I do to go in this way?
Anyone has already did it?
I can pay 50-100$ to get the solution and to have the explanation about it. I mean you should show me what and where you did the hack.
I hope to have been clear, if not pls ask.
Thank you vey much
JSR
Comments
Quick Hack solution
This is very much a hack, but you can do it right now with no coding:
in fact, this gives you more than a plain "AND" facet. For example, if you make two copies of the "Caratteristiche principali" facet, pick "internet" and "accesso disabili" in the first facet, then pick "adatto ai bambini" and "bagno in camera" in the second, you will get all items that have (internet OR accesso disabili) AND (addatto ai bambin OR bagno in camera)
The problem is not in Drupal
The problem is not in Drupal but in the underlying Exhibit. Please take a look at issue 406 of the Simile Exhibit at http://code.google.com/p/simile-widgets/issues/detail?id=406.