-
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:
- 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