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.

MSM - Using search parameter in weblog entries tag

November 04, 2009 7:11pm

Subscribe [1]
  • #1 / Nov 04, 2009 7:11pm

    Gareth Davies

    491 posts

    Hi all,

    I’m having a problem with the following piece of code in that it completely ignores the search parameter.

    I’m trying to search on a weblog (athletes) that is contained in “default_site”. It returns what I want when run from the default_site but not on the MSM site, where it ignores the search parameters. Is there a way of making this work with MSM, otherwise I’ll resort to a custom query?

    {exp:weblog:entries site="default_site" weblog="athletes" search:athlete_gender="=female" search:athlete_ranking="not 0" orderby="athlete_ranking" sort="asc" limit="3" dynamic="off" disable="categories|member_data|pagination|trackbacks"}

    Cheers.

  • #2 / Nov 04, 2009 7:16pm

    Lisa Wess

    20502 posts

    site= and search: do not work together at this time.  See this feature request.

  • #3 / Nov 04, 2009 7:18pm

    Gareth Davies

    491 posts

    Thanks - at least it saves me trying every possible combination trying to get it to work 😊

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

ExpressionEngine News!

#eecms, #events, #releases