ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Advanced search ignoring one channel

July 26, 2011 12:04pm

Subscribe [2]
  • #1 / Jul 26, 2011 12:04pm

    Podzol

    80 posts

    Hello,
    I am building a search tool for an EE2 website. The simple Search tag is working fine and finds entries in all the channels as appropriate. The advanced search tag works fine for all the channels but one. It ignores all entries in that one critical channel.

    All the custom fields associated with that channel are “searchable.”

    I am using the Advanced search tag copied/pasted right from the EE documentation. Any ideas what needs to be tweaked?

    Thanks!

  • #2 / Jul 27, 2011 3:45am

    John Henry Donovan

    12339 posts

    Hi Podzol,

    What version and build of EE are you using?
    Are you using any add-ons?

    Have you manually added your channel as a parameter?
    Any custom status for that particular channel?

    Try the following

    {exp:search:advanced_form result_page="search/results" channel="channel1|channel2|channel3" status="not closed"}
.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases