This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit ezplatform.com

eZ Community » Forums » Extensions » eZ Find » Query in facets
expandshrink

Query in facets

Query in facets

Tuesday 25 February 2014 4:02:47 pm - 1 reply

I am trying to get one facet in eZ Find to get from multiple folders. Is this possible? I have tried several possibilities, but I can't get it to work. I have tried:

fetch(ezfind, search, hash(facet, array(hash('query','path:5000 OR path:5061'))))<span> </span>
<span>fetch(ezfind, search, hash(facet, array(hash('query','path:[5000 OR 5061]'))))</span>

and other options. Is it possible to get this to work? I am also trying to do the same thing with multiple class ID's in one facet, but have the same problem there. 

Have anyone done this before?

 

Tuesday 25 February 2014 4:11:59 pm

I managed to find the answer myself after keep trying possible variations. If anyone is interested the answer is:

fetch(ezfind, search, hash(facet, array(hash('query','path:(5000 OR 5061)'))))
expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from