stable
Clone or download
Read-only
Given you have a widget Roadmap based on a tracker with some reports, When you update the db by hand to insert (widget id, report id) in new table `plugin_roadmap_widget_filter`, Then tasks displayed in the roadmap will be filtered by using the report criteria. No filter when: * report does not belong to selected tracker * report is private * more than one tracker is selected for the Roadmap Part of story #26776: configure roadmap filters Change-Id: I29ca69013c3b4d0c7d3ecbd28ea8c7a97af2dd07
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/roadmap/db/install.sql | +6 | −0 | Go to diff View file |
A | plugins/roadmap/db/mysql/updates/2023/202305111453_add_roadmap_filter_table.php | +42 | −0 | Go to diff View file |
M | plugins/roadmap/db/uninstall.sql | +1 | −0 | Go to diff View file |
A | plugins/roadmap/include/Roadmap/FilterReportDao.php | +52 | −0 | Go to diff View file |
M | plugins/roadmap/include/Roadmap/REST/v1/RoadmapResource.php | +4 | −1 | Go to diff View file |
M | plugins/roadmap/include/Roadmap/REST/v1/RoadmapTasksRetriever.php | +31 | −73 | Go to diff View file |
A | plugins/roadmap/include/Roadmap/ReportToFilterArtifactsRetriever.php | +40 | −0 | Go to diff View file |
A | plugins/roadmap/include/Roadmap/RetrieveReportToFilterArtifacts.php | +27 | −0 | Go to diff View file |
A | plugins/roadmap/tests/integration/Roadmap/FilterReportDaoTest.php | +93 | −0 | Go to diff View file |
M | plugins/roadmap/tests/unit/Roadmap/REST/v1/RoadmapTasksRetrieverTest.php | +239 | −7 | Go to diff View file |
A | plugins/roadmap/tests/unit/Roadmap/Stub/RetrieveReportToFilterArtifactsStub.php | +45 | −0 | Go to diff View file |
A | plugins/tracker/include/Tracker/Artifact/PaginatedArtifactDao.php | +66 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/Artifact/Tracker_ArtifactFactory.class.php | +29 | −3 | Go to diff View file |
M | plugins/tracker/include/Tracker/Artifact/dao/Tracker_ArtifactDao.class.php | +0 | −23 | Go to diff View file |
A | plugins/tracker/tests/integration/Tracker/Artifact/PaginatedArtifactDaoTest.php | +68 | −0 | Go to diff View file |
M | tests/integration/bin/setup.sh | +2 | −1 | Go to diff View file |