stable

Clone or download

Read-only

Introduce between()

This is a part of story #8859 TQL search on date & numeric fields To test: In /tuleap npm run build. You can now use the operator between() only for numerics. Change-Id: I664d5e2e7d4a841a4d8c821e0abbca07316bc3bb

Modified Files

Name
M plugins/tracker/grammar/test_parser.php +3 −9 Go to diff View file
M plugins/tracker/grammar/tql.pegjs +6 −0 Go to diff View file
A plugins/tracker/include/Tracker/Report/Query/Advanced/Grammar/BetweenComparison.php +59 −0 Go to diff View file
A plugins/tracker/include/Tracker/Report/Query/Advanced/Grammar/BetweenValue.php +54 −0 Go to diff View file
A plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/BetweenComparisonVisitor.php +169 −0 Go to diff View file
A plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/FloatFieldBetweenValueChecker.php +42 −0 Go to diff View file
A plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/IntegerFieldBetweenValueChecker.php +52 −0 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFieldsCollectorVisitor.php +14 −1 Go to diff View file
A plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/BetweenComparison/ForFloat.php +68 −0 Go to diff View file
A plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/BetweenComparison/ForInteger.php +68 −0 Go to diff View file
A plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/BetweenComparisonVisitor.php +165 −0 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilderVisitor.php +18 −1 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/SizeValidatorVisitor.php +6 −0 Go to diff View file
M plugins/tracker/include/Tracker/Report/Tracker_Report.class.php +4 −2 Go to diff View file
M plugins/tracker/include/autoload.php +10 −2 Go to diff View file
M plugins/tracker/tests/Tracker/Report/Query/Advanced/InvalidFieldsCollectorVisitorTest.php +33 −1 Go to diff View file
M plugins/tracker/tests/Tracker/Report/Query/Advanced/QueryBuilderTest.php +23 −1 Go to diff View file