-
Improvement
-
Resolution: Fixed
-
Major
-
4.1
-
MOODLE_401_STABLE
-
MOODLE_401_STABLE
-
MDL-73141-master -
Moot Italy Visitors
- The branch used to demonstrate conversion to Report builder is at https://github.com/moodle/moodle/compare/master...dravek:MDL-73141-presentation (as mentioned during the presentation
)
This issue is about converting the Cohort listing page into using Report Builder.
The idea is to use this issue to create a presentation for the Italian Moot and explain step by step how to convert the existing cohorts listing code to a system report explaining these ideas:
- Create a new system report class and how to call it
- Reuse existing Report Builder entities
- Create custom columns (columns not present in the entity and that will just be used in this report)
- Add filters to the report
- Add conditions (fixed filters that cannot be modified from UI)
- Use parameters
- Add actions to the report (Show/Hide cohort, Edit cohort, Delete cohort, Add members to the cohort) and check permissions using callbacks
- How to apply custom CSS to report rows
- Override column names (in case column needs a different name than the one defined in the entity)
The cohort entities added in MDL-72172 should provide most of the report data
- caused a regression
-
MDL-76142 Cohort report stress tests fail on Oracle
-
- Closed
-
-
MDL-77058 TypeError on cohorts page if cohort ID is NULL
-
- Closed
-
-
MDL-78071 Cohort action menu should not be added for managed cohorts
-
- Closed
-
- has a non-specific relationship to
-
MDL-74377 Fix styles for dropdown items inside dimmed_text elements
-
- Closed
-
-
MDL-52046 Provide option to bulk delete cohorts
-
- Closed
-
- has been marked as being related by
-
MDL-74488 Provide API mechanism for callers to retrieve number of rows in a report
-
- Closed
-
- Testing discovered
-
MDL-74284 Inconsistent/missing titles/breadcrumbs on cohort management pages
-
- Closed
-
-
MDL-74612 Usage of cohort Behat step for adding cohort member should be converted to generator
-
- Closed
-