-
Bug Report
-
Resolution: Fixed
-
L3 - Default
-
7.8.0-alpha2
-
None
Steps to reproduce:
I have following user tasks:
- tasks with due date set to today + 7 days
- tasks without due date
When I create a filter with ALL instruction and with one criteria "Due After today + 8 days" -> I get empty result (CORRECT)
When I create a filter with ANY instruction and with the same single criteria -> I get the list of tasks for which due date is not null (WRONG)
These are the JSON payloads for filter creation:
{ "id": "9703f13b-71fa-11e7-9974-0a0027000006", "name": "Or test", "resourceType": "Task", "query": { "dueAfter": "2017-08-05T10:00:00.000+0200" }, "properties": { "priority": 0, "color": "#555555", "refresh": false, "showUndefinedVariable": false } }
and
{ "id": "9703f13b-71fa-11e7-9974-0a0027000006", "name": "Or test", "resourceType": "Task", "query": { "orQueries": [ { "dueAfter": "2017-08-05T10:00:00.000+0200" } ] }, "properties": { "priority": 0, "color": "#555555", "refresh": false, "showUndefinedVariable": false } }
Expected behavior:
The filter must be applied correctly and both filters must return the same result (empty list in this case).