Jump to content

pages->find() AND Connector


sww
 Share

Recommended Posts

Hey there,

is there really no way to turn the OR logic into an AND logic when selecting pages by (e.g.) tags?

so instead of

 $pages->find("template=exhibitions, tags=foo|bar")

something like

 $pages->find("template=exhibitions, tags=foo&&bar")

so the pages needs to have all requested tags, not just any of them.

 

Thanks,
Stefan

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...