stable

Clone or download

Read-only

feat: Build SQL for ORDER BY static list field

Part of story #39685 Order artifact according to a field static list fields and @status are now handled for ORDER BY *Testing:* Have multiple artifacts from trackers with a static list field (one value). You should be able to sort on this field. Same with semantic @status Change-Id: I39e184319df67416390d957fb3db7ed530ba7557

Modified Files

Name
M plugins/crosstracker/include/CrossTracker/REST/v1/CrossTrackerReportsResource.php +18 −13 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/OrderByBuilder/Field/FieldFromOrderBuilder.php +7 −5 Go to diff View file
A plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/OrderByBuilder/Field/StaticList/StaticListFromOrderBuilder.php +55 −0 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/OrderByBuilder/Metadata/MetadataFromOrderBuilder.php +21 −1 Go to diff View file
M plugins/crosstracker/include/crosstrackerPlugin.php +7 −2 Go to diff View file
A plugins/crosstracker/tests/integration/CrossTracker/Report/Query/Advanced/OrderBy/StaticListOrderByBuilderTest.php +140 −0 Go to diff View file
A plugins/crosstracker/tests/integration/CrossTracker/Report/Query/Advanced/OrderBy/StatusOrderByBuilderTest.php +140 −0 Go to diff View file
M plugins/crosstracker/tests/integration/CrossTracker/Tests/Report/ArtifactReportFactoryInstantiator.php +7 −2 Go to diff View file