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.

SEARCH - Is it possible to suppress search results based on the value of a custom field

October 19, 2012 5:33pm

Subscribe [2]
  • #1 / Oct 19, 2012 5:33pm

    jcwalter

    2 posts

    If I have a custom field called “international_school” that is either YES or NO.  Using the EE simple search and results, is it possible to suppress any returned results that have “international_school” equal to NO?

  • #2 / Oct 22, 2012 4:43pm

    Shane Eckert

    7174 posts

    Hello jcwalter,

    Thank you for your question.

    I do not believe that you can because the results are a part of the results loop. It would be nice if you could use a conditional on the channel field, but I do not see that as possible. You might need to look into something more complex like Super Search though I am not sure you can parse the results there either.

    I will also run this by an engineer and if there is anything else I can offer, I will update this thread.

    Thank you,

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases