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.

entries search parameter and multiple channels

October 17, 2010 5:10pm

Subscribe [4]
  • #1 / Oct 17, 2010 5:10pm

    kevin332

    50 posts

    If I have an entries tag showing all entries from channel1|channel2|channel3 (all with their own separate sets of custom fields) and add a search:channel2_body=“not pickles”

    ...the old behavior (1.6.x) would be for EE to display all entries from all 3 channels, minus the ones from channel2 that had the word pickles. Now, it will only display entries from channel2 without the word pickles.

    New intended behavior or bug?

  • #2 / Oct 18, 2010 2:31am

    John Henry Donovan

    12339 posts

    kevin332,

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

    Can you post your full tags please?
    What does your URL look like?
    What type of field is channel2_body, a textarea?

  • #3 / Oct 18, 2010 3:18am

    kevin332

    50 posts

    that was just a made-up example, I’m using 2.1.0 build 20100810

    here’s the entries tag I was using before I had to replace it with a custom query:

    {exp:channel:entries channel="blog|trailers|dvd_releases" limit="15" disable="member_data|trackbacks" search:trailer_news_update="not No"}
    {if channel_id == '4'}custom output for "blog"{/if}
    {if channel_id == '10'}custom output for "trailers"{/if}
    {if channel_id == '6'}custom output for "dvd_releases"{/if}
    {/exp:channel:entries}

    That output 15 entries exclusively from the “trailers” channel not matching “No” in a custom field. The trailer_news_update field is just a dropdown box with “Yes” and “No” in it, so I can post old movie trailers that aren’t worthy of news updates without them popping up as new on my main index or RSS feed. I’ve tried switching it to radio buttons and text fields but it makes no difference, it’s all saved the same—as “Yes” or “No”.

    I’m using the solspace Tag module, twitter timeline, Low Find & Replace, Gravatar, and Low NoSpam.

    The urls I’m seeing the behavior on are just my index page or /feedburner. Pretty much anywhere with a channel entries tag displaying multiple channels.

    Thanks

  • #4 / Oct 18, 2010 4:00am

    John Henry Donovan

    12339 posts

    kevin332,

    I can replicate what you are seeing so I submitted a bug report on your behalf here

  • #5 / Oct 18, 2010 4:18am

    kevin332

    50 posts

    Thanks for confirming! I know it’s a pain to set up such a specific scenario for a test.

  • #6 / Oct 18, 2010 8:12am

    Sue Crocker

    26054 posts

    Hopefully we’ll hear back on this issue soon. You have a work around for the moment, right?

  • #7 / Oct 18, 2010 3:56pm

    kevin332

    50 posts

    Yep, I’ve replaced all my main entries tags with custom queries

  • #8 / Oct 18, 2010 4:08pm

    Ingmar

    29245 posts

    OK, I’ll mark this one as “Resolved” for the time being. Thanks for your feedback, it’s appreciated.

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

ExpressionEngine News!

#eecms, #events, #releases