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) operator - date < '2017-01-24' means date is earlier than 2017-01-24 00:00:00 - date < '2017-01-24 15:02' means date is earlier than 2017-01-23 15:02:00 - Comparisons should also work with now() + time periods Change-Id: I12cb2acb13dcb9bd6682fea88188daf851640613
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/LesserThanComparisonVisitor.php | +14 | −3 | Go to diff View file |
A | plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/LesserThanComparison/ForDateTime.php | +96 | −0 | Go to diff View file |
A | plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/LesserThanComparison/ForLastUpdateDate.php | +79 | −0 | Go to diff View file |
A | plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/LesserThanComparison/ForSubmittedOn.php | +79 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/LesserThanComparisonVisitor.php | +9 | −3 | Go to diff View file |
M | plugins/tracker/include/autoload.php | +5 | −2 | Go to diff View file |