All Low add-ons are now owned by EEHarbor. Read the blog post.

Support archive

unable to Low_Search across multiple sites

laureent 24 Mar 2015 06:08 question, rejected

I have two sites that share the exact same structure. (same channel names, same categories names, etc. — site2 is somehow a duplicate of site1. )

Each site can display it's own entries and also entries from the other one.

Shared entries across sites are determined by status.
(i.e. : status='site1|shared' or status='site2|shared' )

So, for example when I perform a search on site2, I need to pull matching entries from site2 and from site1 with a 'shared' status. (and the other way around)

I created 4 collections on site1 and the same collections in site2 and search within each single site works perfectly.

Now if I use the site="site1|site2" parameter in the search form, both sites collections are displayed and I dont want that. If I remove the site parameter, I won't find entries from the second site.

Am I missing something here ?

Replies

  1. Low 24 Mar 2015 10:26

    First of all, what are your EE and LS versions?

    Then, what is the template code you're working with? Specifically the whole Form tag and opening Results tag, for both sites. You can use http://pastie.org/ or http://pastebin.com/ for large chunks of code.

  2. laureent 24 Mar 2015 12:39

    Low, I spotted the culprit everything is running smoothly, sorry for the inconvenience.