stable
Clone or download
Read-only
Part of story #40088 Expert mode is the new default for cross tracker search Now the SQL part is built, the current user can retrieve artifacts in the XTS widget from projects where he is member of. How to test: - In your XTS widget: add in the 'FROM' part: @project = MY_PROJECTS() - Click on 'Search' button => The retrieved artifact are from the current user projects => If the user is not member of any project, then an error is displayed ( The 'FROM' part of the query is invalid, it contains an error: 'No tracker found' ) Change-Id: Id1a57cf0f78c23a93769413c3e12b8f549429d9c
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/FromBuilder/FromProjectBuilderVisitor.php | +18 | −3 | Go to diff View file |
M | plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/InvalidFromProjectCollectorVisitor.php | +8 | −0 | Go to diff View file |
M | plugins/crosstracker/tests/integration/CrossTracker/Report/Query/Advanced/From/FromProjectTest.php | +6 | −0 | Go to diff View file |