stable
Clone or download
Read-only
Part of story #39685 Order artifact according to a field date and datetime fields are now handled for ORDER BY. /!\ remainder: date and datetime fields are NOT compatible *Testing:* Have multiple artifacts from a tracker with a date field. You should be able to sort these artifacts with this field. Same for a datetime field Change-Id: Iad8181146d189c6555710edd49a6fde0a24e63f2
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/crosstracker/include/CrossTracker/REST/v1/CrossTrackerReportsResource.php | +11 | −1 | Go to diff View file |
M | plugins/crosstracker/include/CrossTracker/Report/CrossTrackerArtifactReportFactory.php | +1 | −1 | Go to diff View file |
A | plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/OrderByBuilder/Field/Date/DateFromOrderBuilder.php | +53 | −0 | Go to diff View file |
M | plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/OrderByBuilder/Field/FieldFromOrderBuilder.php | +58 | −2 | Go to diff View file |
M | plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/OrderByBuilder/OrderByBuilderParameters.php | +5 | −0 | Go to diff View file |
M | plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/OrderByBuilderVisitor.php | +6 | −1 | Go to diff View file |
M | plugins/crosstracker/include/crosstrackerPlugin.php | +11 | −1 | Go to diff View file |
A | plugins/crosstracker/tests/integration/CrossTracker/Report/Query/Advanced/OrderBy/DateOrderByBuilderTest.php | +122 | −0 | Go to diff View file |
A | plugins/crosstracker/tests/integration/CrossTracker/Report/Query/Advanced/OrderBy/DatetimeOrderByBuilderTest.php | +122 | −0 | Go to diff View file |
M | plugins/crosstracker/tests/integration/CrossTracker/Tests/Report/ArtifactReportFactoryInstantiator.php | +12 | −2 | Go to diff View file |