stable

Clone or download

Read-only

feat: SQL for ORDER BY simple @ATF

Part of story #39685 Order artifact according to a field @id, @submitted_on and @last_update_date are now handled for ORDER BY *Testing:* Write a TQL query with one of these ATF for the ORDER BY part. It should works for both ascending and descending direction. If no ORDER BY provided, it should behave like `@id DESC` Change-Id: I50ea427c75a0a08b5e721fb0c1de07d7f59f044d

Modified Files

Name
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/OrderByBuilder/Metadata/MetadataFromOrderBuilder.php +21 −1 Go to diff View file
M plugins/crosstracker/tests/integration/CrossTracker/Report/Query/Advanced/OrderBy/ArtifactIdOrderByBuilderTest.php +39 −0 Go to diff View file
A plugins/crosstracker/tests/integration/CrossTracker/Report/Query/Advanced/OrderBy/LastUpdateDateOrderByBuilderTest.php +116 −0 Go to diff View file
A plugins/crosstracker/tests/integration/CrossTracker/Report/Query/Advanced/OrderBy/SubmittedOnOrderByBuilderTest.php +116 −0 Go to diff View file