Answer the question
In order to leave comments, you need to log in
How to make condition for pdoPage &where?
Friends help to make a condition for pdoPage &where The meaning is as follows, {"0":{"createdby": "VAR1", "AND:postTv:is": null}, "OR:createdby": VAR1, "AND:postTv:= ": "VAR2"} That is, the creator of VAR1 AND the TV post if not created (does not exist) And the same creator of VAR1 And also the TV post if it exists and the value VAR2 is selected THEN display pages. But it doesn't work. If you do {"0":{"createdby": "VAR1", "AND:postTv:is": null}} then it will display the posts of the VAR1 author in which TV (null) has not yet been filled (Defined) . But if he sets any value, then these posts will no longer be displayed. I need the author of VAR1 to display posts if he did not fill in TV or if he filled in the same TV with the value of VAR2.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question