eZ Community » Forums » Extensions » eZ Find » Search in more than one Section
expandshrink

Search in more than one Section

Search in more than one Section

Friday 21 May 2010 9:03:19 am - 2 replies

Hi,

I am using eZ Publish 4.01 and eZ Find 2.0. My Problem is that I want to search in 2 sections but the section_id attribute expected only one integer number. So that mens that you can only search in one Section or if you remove this attribute the search will be in all sections. I tried the RawFilterList in the ezfind ini setting but it didn't work. I got no search results. I have to search in section 1 and 3.

I tried it like this:

RawFilterList[]=meta_section_id_si:[* TO *] -meta_section_id_sisad.gif Emoticon1 3)

Has anyone an idea how I have to use the RawFilterList or is there another possibilty to search in 2 Sections.

I am grateful for any help. Thanks

Friday 21 May 2010 10:32:43 am

Hi,

I would use a filter : filter, 'section_idsad.gif Emoticon 1 OR 3 )'

If I remember well RawFilterList will apply on every ezfind fetch you use thus I am not sure it's a good solution happy.gif Emoticon

Otherwise it would have been more : meta_section_id_sisad.gif Emoticon 1 OR 3 )

Tuesday 25 May 2010 9:52:10 am

Hi,

now I am using the filter attribute and it works fine for me.

Thank you very much for your help.

expandshrink

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

36 542 Users on board!

Forums menu

Proudly Developed with from