stable

Clone or download

Read-only

Refacto: extract/check date in a dedicated object

This is a part of story #8859 TQL search on date & numeric fields The same as previous changeset, but for other comparisons than between() Change-Id: I41a4e1cb356ec89f722671b74a242c1957b76c9e

Modified Files

Name
M plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/Date/DateFieldChecker.php +12 −38 Go to diff View file
R plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/Date/DateTimeFieldChecker.php Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/EqualComparisonVisitor.php +14 −8 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/GreaterThanComparisonVisitor.php +14 −8 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/GreaterThanOrEqualComparisonVisitor.php +14 −8 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/LesserThanComparisonVisitor.php +14 −8 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/LesserThanOrEqualComparisonVisitor.php +14 −7 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/NotEqualComparisonVisitor.php +14 −7 Go to diff View file
M plugins/tracker/include/autoload.php +3 −3 Go to diff View file
M plugins/tracker/tests/Tracker/Report/Query/Advanced/InvalidFields/DateFieldCheckerTest.php +13 −3 Go to diff View file
M plugins/tracker/tests/Tracker/Report/Query/Advanced/InvalidFields/DateTimeFieldCheckerTest.php +15 −5 Go to diff View file