Hi, I’m pulling my hair out at this one. I have an MSM site with 5 sites, and I want to store all addresses on the main site but allocate them as required. To do this, I’ve created a P&T switch field for each site (display on site A, display on site B etc).
On the main site, this works fine:
{exp:channel:entries channel="office" disable="category_fields|member_data|pagination|trackbacks" dynamic="no" site="not gribbler" search:office_contracting="y"}
{title}
{/exp:channel:entries}It returns all offices assigned to the contracting site.
If I then go to the contracting site, and call this same code via
{embed="main_site:shared/list_offices"}I get nothing back at all. However, if I remove the search parameter, I get back all sites as expected.
It’s as if the search parameter stops working when I add site - it might be worth noting that I currently also have an office channel in my contracting site. Could it be that the search parameter isn’t respecting the site parameter and searching the wrong field?