eZ Community » Forums » General » Merging Search Results
expandshrink

Merging Search Results

Merging Search Results

Tuesday 07 February 2012 5:11:22 pm - 1 reply

Hi,

I have 2 ezFind searches defined one as $brocsearch and one as $prodsearch, as I need to use seperate criteria for each.

Is there a way of merging these results (i.e. merge the $brocsearch results and the $prodsearch results) before I process them further?

Many thanks

Alan

Tuesday 07 February 2012 5:33:09 pm

Hi,

Any chance of having a single request by mixing AND and OR operators in your ezfind fetch ?

If not, then you should create a template operator so that you can easily merge these results using basic PHP functions (will be simple and faster than doing it in a template using array_ operators).

My 2 cents

expandshrink

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

36 542 Users on board!

Forums menu