10,730
edits
No edit summary |
|||
Line 87: | Line 87: | ||
== Recent and upcoming appointments == | == Recent and upcoming appointments == | ||
The filter returns non-cancelled appointments from the last 3 months, as well as those scheduled for the next 24 months. | The filter returns non-cancelled appointments from the last 3 months, as well as those scheduled for the next 24 months. | ||
<syntaxhighlight lang="xml><fetch version="1.0"> | <syntaxhighlight lang="xml"><fetch version="1.0"> | ||
<entity name="appointment"> | <entity name="appointment"> | ||
<filter type="and"> | <filter type="and"> | ||
Line 102: | Line 102: | ||
</entity> | </entity> | ||
</fetch></syntaxhighlight> | </fetch></syntaxhighlight> | ||
Since [[Releases/Winter_2024#Not_older_than_X_days|Release 17.0]], you can use the operator "Not Older Than X Days". It should work better/faster than combined condition next-x-months + last-x-months. | |||
<syntaxhighlight lang="xml"><condition attribute="scheduledend" operator="on-or-after" value="@@TODAY-90" /></syntaxhighlight> | |||
== Phone calls == | == Phone calls == |