-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
-
4.4
-
MOODLE_404_STABLE
Allow custom field types to define how they should be used/displayed in custom reports - specifically:
- Their column type
- Supported column aggregation
- Their filter type
This is a legacy hangover from Report builder in Workplace, and isn't sustainable now that more customfield types are proposed in both LMS (MDL-80858) and as third party plugins
It also breaks our own rules regarding inter-component communication rules: https://moodledev.io/general/development/policies/component-communication#general-rules-for-inter-component-communications (because of said hardcoding of different types):
While the above provide sensible defaults, they aren't a good long-term solution because the behaviour is removed from the customfield and is hardcoded