mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 18:36:42 +02:00
MDL-83361 reportbuilder: date aggregation for timestamp columns.
This change introduces updates to the existing aggregation API, to allow types to define whether to group by fields of a column to which the aggregation is applied. The new date aggregation utilises this, to allow for creation of time series reports, e.g. report data grouped by dates. Co-authored-by: Daniel Neis Araujo <danielneis@gmail.com>
This commit is contained in:
parent
a97ddeb2a2
commit
812975e218
8 changed files with 237 additions and 17 deletions
12
.upgradenotes/MDL-83361-2024101618221379.yml
Normal file
12
.upgradenotes/MDL-83361-2024101618221379.yml
Normal file
|
@ -0,0 +1,12 @@
|
|||
issueNumber: MDL-83361
|
||||
notes:
|
||||
core_reportbuilder:
|
||||
- message: >-
|
||||
The base aggregation class has a new `column_groupby` method, to be
|
||||
implemented in aggregation types to determime whether report tables
|
||||
should group by the fields of the aggregated column
|
||||
type: improved
|
||||
- message: >-
|
||||
There is a new `date` aggregation type, that can be applied in custom
|
||||
and system reports
|
||||
type: improved
|
Loading…
Add table
Add a link
Reference in a new issue