Multi attribute search with OR flag

Author Message

Stephan Brezinsky

Tuesday 06 April 2004 11:08:44 am

I have read that the OR and NOT search flags are supported, and so are multiple attribute searches, but I have yet to read about, or figure out how to get both to work together.

What I have is this:

Custom class has attribute1 values of 1,2,3. Also has attribute2 values of 4,5,6
Assume there are several class objects containing some, or all of these values.

What I would like to do is search attribute1 and attribute2 for values 1 OR 3 OR 5. This should then return a minimum of three results.

So far I have set SearchContentClassAttributeID to 1,2 in my advancedsearch.tpl. This will then search both attribute1 and attribute2, but I am only able to search for one possible value such as "5", not all three (1,3,5).

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.