stable
Clone or download
Read-only
This is part of story #10704 define a query with date fields We can now use lesser than or equal operator (<=) in cross tracker search. It can only be used with @submitted_on. Usage with other metadata will raise an error. Currently, only date as string (e.g. "2018-02-22") is supported. If you search against empty value (@submitted_on <= ''), then an error will be raised. Change-Id: Ida0b4d0ef6fc7eda2f10377a33ebc0cc252baed2
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/crosstracker/include/CrossTracker/REST/v1/CrossTrackerReportsResource.php | +9 | −1 | Go to diff View file |
M | plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/InvalidComparisonCollectorVisitor.php | +13 | −2 | Go to diff View file |
M | plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/InvalidSemantic/GreaterOrLesserThanComparisonChecker.php | +1 | −1 | Go to diff View file |
A | plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/InvalidSemantic/LesserThanOrEqualComparisonChecker.php | +26 | −0 | Go to diff View file |
R | plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/InvalidSemantic/GreaterOrLesserThanNotAllowedForMetadataException.php | Go to diff View file | ||
A | plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryBuilder/Metadata/AlwaysThereField/SubmittedOn/LesserThanOrEqualComparisonFromWhereBuilder.php | +58 | −0 | Go to diff View file |
A | plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryBuilder/Metadata/LesserThanOrEqualComparisonFromWhereBuilder.php | +51 | −0 | Go to diff View file |
M | plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryBuilderVisitor.php | +15 | −1 | Go to diff View file |
M | plugins/crosstracker/include/autoload.php | +6 | −3 | Go to diff View file |