stable
Clone or download
Read-only
This is a part of story #8859 TQL search on date & numeric fields To test: You can use "between()" operator with dates (date/datetime/submitted_on/ last_updated) - start_date BETWEEN("2017-01-20", now()) for example should work - start_date BETWEEN("2017-01-20", "") should throw an error - start_date BETWEEN("2017-01-20", "aa") should throw an error Change-Id: Ia1ec8984dd4b4875b4a5da4561143af09a93e128
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/BetweenComparisonVisitor.php | +16 | −5 | Go to diff View file |
A | plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/DateFieldBetweenValueChecker.php | +85 | −0 | Go to diff View file |
A | plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/DateTimeFieldBetweenValueChecker.php | +91 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/FloatFieldBetweenValueChecker.php | +14 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/IntegerFieldBetweenValueChecker.php | +14 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/IntegerFieldChecker.php | +0 | −1 | Go to diff View file |
A | plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/BetweenComparison/ForDateTime.php | +109 | −0 | Go to diff View file |
A | plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/BetweenComparison/ForLastUpdateDate.php | +91 | −0 | Go to diff View file |
A | plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/BetweenComparison/ForSubmittedOn.php | +91 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/BetweenComparisonVisitor.php | +9 | −3 | Go to diff View file |
M | plugins/tracker/include/autoload.php | +7 | −2 | Go to diff View file |