Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with "parent" in selector OR field condition #838

Closed
Toutouwai opened this issue Mar 26, 2019 · 2 comments
Closed

Issues with "parent" in selector OR field condition #838

Toutouwai opened this issue Mar 26, 2019 · 2 comments

Comments

@Toutouwai
Copy link

Short description of the issue

There seems to be issues when "parent" is used in a OR condition for fields in a selector (field1|field2=value).

A couple of examples:

2019-03-27_105729

2019-03-27_105953

In the latter example the issue also occurs when the selector is id|parent.id=1.

Maybe "parent" is a special case that isn't allowed in field OR conditions? If so this should be noted in the Selectors documentation.

Related forum topic: https://processwire.com/talk/topic/21130-problems-with-parent-selecotrs/

Setup/Environment

  • ProcessWire version: 3.0.127
ryancramerdesign added a commit to processwire/processwire that referenced this issue Mar 28, 2019
@ryancramerdesign
Copy link
Member

Thanks @Toutouwai I have added support for this

@Toutouwai
Copy link
Author

Great, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants