More than 1 logical expression in Data Directive
I am using Data Directive to join to an Array and a Supp Table together.
I have two join conditions:
ARRAY.ID = SuppSOURCE.ID
SuppSOURCE.DATE = today
where today is an assigned var:
<#assign today = .now?date?iso_utc >
<#filter ID = array.id && DATE = today >
For completeness, I have shown the filter condition above. The error thrown is:
Expecting a boolean (true/false) expression here Expression array.id does not evaluate to true/false it is an instance of freemarker.template.SimpleNumber
If I have one of either filter expression it works. It doesn't seem to accept both.