You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Or we could hust have method like getQuery() - it would just output query generated by condition field. And later you would be able to add your own rules there in the template by chaining other element query methods.
It'd be nice to have a shortcut syntax to get a Condition-modified query directly from the fieldtype value.
Current guidance:
Some potential implementations:
Option 1 — Get query from the Condition, passing in an ElementQuery
Option 2 — Get query from the Condition, passing in element type (and optional query params)
Option 3 — Apply Condition to query
The text was updated successfully, but these errors were encountered: