stable
Clone or download
Read-only
Part of story #39685 Order artifact according to a field Currently nothing is build, it's just the structure to build each sql fragments. When no ORDER BY is provided, it default to @id DESC *Testing:* No matter what you type for ORDER BY (even if not present), it should result to ordering artifacts by their id descending (greater to smaller) Change-Id: I05c768a381db554f437e8e85e9653fe39e5a0962
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/crosstracker/include/CrossTracker/REST/v1/CrossTrackerReportsResource.php | +4 | −0 | Go to diff View file |
M | plugins/crosstracker/include/CrossTracker/Report/CrossTrackerArtifactReportFactory.php | +4 | −0 | Go to diff View file |
A | plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/OrderByBuilder/Field/FieldFromOrderBuilder.php | +35 | −0 | Go to diff View file |
A | plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/OrderByBuilder/Metadata/MetadataFromOrderBuilder.php | +35 | −0 | Go to diff View file |
A | plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/OrderByBuilder/OrderByBuilderParameters.php | +36 | −0 | Go to diff View file |
A | plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/OrderByBuilder/ParametrizedFromOrder.php | +48 | −0 | Go to diff View file |
A | plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/OrderByBuilderVisitor.php | +66 | −0 | Go to diff View file |
M | plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryBuilder/CrossTrackerExpertQueryReportDao.php | +10 | −2 | Go to diff View file |
M | plugins/crosstracker/include/crosstrackerPlugin.php | +4 | −0 | Go to diff View file |
A | plugins/crosstracker/tests/integration/CrossTracker/Report/Query/Advanced/OrderBy/ArtifactIdOrderByBuilderTest.php | +95 | −0 | Go to diff View file |
M | plugins/crosstracker/tests/integration/CrossTracker/Tests/Report/ArtifactReportFactoryInstantiator.php | +4 | −0 | Go to diff View file |