This site has been archived. To learn more about our current products Ibexa Content, Ibexa Experience, Ibexa Commerce head over to the Ibexa Developer Portal

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

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)'))))

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

36 542 Users on board!

Forums menu

Proudly Developed with from