stable

Clone or download

Read-only

feat: FROM @project IN(...)

Closes story #39693 select projects with `@project IN (string, ...)` @project = 'aggregated' select only aggregated projects and not the current project (program). With this new syntax you can select aggregated projects and the current one: FROM @project IN('aggregated', 'self') It's currently the only usage available *Testing:* In a program project with some teams project: SELECT @tracker.name, @project.name FROM @project IN('aggregated', 'self') WHERE @id >= 1 You should see trackers from aggregated project and the current one Change-Id: Iaee6c8e2137b5fe2582733e7ee6f28b91b240f85

Modified Files

Name
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/FromBuilder/FromProjectBuilderVisitor.php +54 −18 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/InvalidFromProjectCollectorVisitor.php +66 −41 Go to diff View file
M plugins/crosstracker/site-content/fr_FR/LC_MESSAGES/tuleap-crosstracker.po +20 −14 Go to diff View file
M plugins/crosstracker/site-content/pt_BR/LC_MESSAGES/tuleap-crosstracker.po +13 −8 Go to diff View file
M plugins/crosstracker/tests/integration/CrossTracker/Report/Query/Advanced/From/FromProjectAggregatedTest.php +19 −1 Go to diff View file
M plugins/crosstracker/tests/unit/CrossTracker/Report/Query/Advanced/InvalidFromCollectionBuilderTest.php +53 −8 Go to diff View file