stable
Clone or download
Read-only
This is a part of story #8859: TQL search on date & numeric fields To test: - You should now be able to compare date / datetime /submitted_on / last_updated_on fields using the <= (lesser than or equal) operator - date <= '2017-01-24' means date is earlier than 2017-01-24 23:59:59 - date <= '2017-01-24 17:08' means date is earlier than 2017-01-23 17:08:59 - Comparisons should also work with now() + time periods Change-Id: I1c0a1c0d07ec0c32767a8d0197079caee6078f1c
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/DateFieldBetweenValueChecker.php | +0 | −1 | Go to diff View file |
M | plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/DateTimeFieldBetweenValueChecker.php | +0 | −1 | Go to diff View file |
M | plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/FloatFieldBetweenValueChecker.php | +0 | −1 | Go to diff View file |
M | plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/FloatFieldChecker.php | +0 | −1 | Go to diff View file |
M | plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/IntegerFieldBetweenValueChecker.php | +0 | −1 | Go to diff View file |
M | plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/LesserThanOrEqualComparisonVisitor.php | +14 | −3 | Go to diff View file |
A | plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/LesserThanOrEqualComparison/ForDateTime.php | +96 | −0 | Go to diff View file |
A | plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/LesserThanOrEqualComparison/ForLastUpdateDate.php | +79 | −0 | Go to diff View file |
A | plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/LesserThanOrEqualComparison/ForSubmittedOn.php | +79 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/LesserThanOrEqualComparisonVisitor.php | +9 | −3 | Go to diff View file |
M | plugins/tracker/include/autoload.php | +5 | −2 | Go to diff View file |