stable

Clone or download

Read-only

feat: SQL for ORDER BY numeric field

Part of story #39685 Order artifact according to a field int and float fields are now handled for ORDER BY as numeric *Testing:* Have multiple artifacts from a tracker with an int field and another tracker with a float field (same name for both). You should be able to sort these artifacts with this field Change-Id: I4bb18dcad0c6607bee218b95f3bdd1e5ac26866e

Modified Files

Name
M plugins/crosstracker/include/CrossTracker/REST/v1/CrossTrackerReportsResource.php +2 −0 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/OrderByBuilder/Field/FieldFromOrderBuilder.php +3 −1 Go to diff View file
A plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/OrderByBuilder/Field/Numeric/NumericFromOrderBuilder.php +60 −0 Go to diff View file
M plugins/crosstracker/include/crosstrackerPlugin.php +2 −0 Go to diff View file
A plugins/crosstracker/tests/integration/CrossTracker/Report/Query/Advanced/OrderBy/NumericOrderByBuilderTest.php +128 −0 Go to diff View file
M plugins/crosstracker/tests/integration/CrossTracker/Tests/Report/ArtifactReportFactoryInstantiator.php +2 −0 Go to diff View file