MDL-73916 reportbuilder: Allow to set default condition values

- Changes on datasource class to allow to set default condition values
- Added default condition 'suspended' set to 'no' on users datasource
This commit is contained in:
David Matamoros 2022-02-17 11:57:44 +01:00
parent 5500d143f4
commit c6777c9cbf
4 changed files with 47 additions and 2 deletions

View file

@ -11,3 +11,5 @@ Information provided here is intended especially for developers.
* The base aggregation `format_value` method has a `$columntype` argument in order to preserve type during aggregation. When
defining column callbacks, strict typing will now be preserved in your callback methods when the column is being aggregated
* The method `get_joins()` in the base entity class is now public, allowing for easier joins within reports
* New method `get_default_condition_values()` in base datasource class, to be overridden by sources that wish to
define default values for conditions upon report creation.