stable
Clone or download
Read-only
Part of story #38263 Choose my own columns based on field name (numeric, text, dates) User can now select integer and float fields with TQL. But nothing changes on the view as the return format of REST API is not defined yet *Testing:* You can check RestLogs (/var/log/tuleap/rest_api_log), the result of sql query is dumped into them Change-Id: I5c8876a686482d94bf0f350508af48494d4a1902
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/crosstracker/include/CrossTracker/REST/v1/CrossTrackerReportsResource.php | +3 | −1 | Go to diff View file |
M | plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/SelectBuilder/Field/FieldSelectFromBuilder.php | +5 | −3 | Go to diff View file |
A | plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/SelectBuilder/Field/Numeric/NumericSelectFromBuilder.php | +64 | −0 | Go to diff View file |
M | plugins/crosstracker/include/crosstrackerPlugin.php | +3 | −1 | Go to diff View file |
M | plugins/crosstracker/tests/integration/CrossTracker/Report/Query/Advanced/Select/DateSelectBuilderTest.php | +2 | −0 | Go to diff View file |
A | plugins/crosstracker/tests/integration/CrossTracker/Report/Query/Advanced/Select/NumericSelectBuilderTest.php | +192 | −0 | Go to diff View file |
M | plugins/crosstracker/tests/integration/CrossTracker/Report/Query/Advanced/Select/TextSelectFromBuilderTest.php | +2 | −0 | Go to diff View file |
M | plugins/crosstracker/tests/integration/CrossTracker/Tests/Report/ArtifactReportFactoryInstantiator.php | +3 | −1 | Go to diff View file |
M | plugins/crosstracker/tests/unit/CrossTracker/Report/Query/Advanced/SelectBuilder/Field/FieldSelectFromBuilderTest.php | +27 | −3 | Go to diff View file |