-
Improvement
-
Resolution: Fixed
-
Major
-
4.1, 4.5
-
MOODLE_401_STABLE, MOODLE_405_STABLE
-
MOODLE_405_STABLE
-
- Covered by automated tests
-
WP Sprint 2023-I1.4 (Clones)
The system_report_table class doesn't support aggregation - this means you have to create a custom entity with aggregated columns if you need to represent something using an aggregation - duplicating significant effort.
Ideally in a custom report you could set something like:
if ( $column = $this->get_column('entity:column')) { |
$column->set_aggregation('sum'); |
}
|
Current locations in code that would benefit:
- Cohorts member count (
MDL-73141) - Badges issued count (
MDL-77061) LTI tools usage count ((this has since been re-factored away, and LTI work is frozen anyway)MDL-78575)- Reports tags (
MDL-80245) - Tags count (
MDL-79788)
(Adding to MDL-84719 epic because this allow for improved native aggregation performance, instead of using derived table joins/sub-selects)
- blocks
-
MDL-82145 System report API to display unique row values
-
- Open
-
-
MDL-77061 Add search and filter function in Manage Badges page
-
- Closed
-
- caused a regression
-
MDL-83037 Badges Behat tests trigger file not found errors
-
- Closed
-
- has a non-specific relationship to
-
MDL-80245 Support custom reports tagging
-
- Closed
-