joe_g Posted January 31 Share Posted January 31 Hello! How do i include pages with non active languages in a search? Say I want to find ->find('template=x'), regardless if it happens to be 'active' or not in the current language? If I do include=all I also get hidden, unpublished, from the trash, (i think) but I just want the inactive versions. Is there a selector for this? Thanks! Link to comment Share on other sites More sharing options...
BrendonKoz Posted February 7 Share Posted February 7 I unfortunately haven't had any experience working on a multilingual site, but hopefully merging the two following solutions together will get you on your way? 1 Link to comment Share on other sites More sharing options...
joe_g Posted February 15 Author Share Posted February 15 Thank you, i take that as if it can't be done with a selector (on the database side of things). The filtering needs to happen after getting all the results. Link to comment Share on other sites More sharing options...
BrendonKoz Posted February 16 Share Posted February 16 This might be a question for @ryan, though I'm not aware of any selector for this, but again, I'm, unfortunately, also not well-versed in a multilingual setup. It does appear, based on @bernhard's discovery, that looping through the available result set of all options can get you what you need...I think. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now