-
Improvement
-
Resolution: Fixed
-
Minor
-
4.2
-
MOODLE_402_STABLE
-
MOODLE_402_STABLE
-
MDL-77130-master-v2 -
There is custom fields in core for users and courses, see https://moodledev.io/docs/apis/plugintypes/customfield
In our case we are working on a complex integration task where cohorts are being used to group students. However, more data for cohort is required to make sure students are attached to correct cohorts.
Having custom fields attached to cohorts would make sense in this case.
Roughly tasks here:
- [x] A new admin page for creating cohorts custom fields e.g. /cohort/customfield.php[x]
- [x] New permissions
- [x] A new custom fields handler
- [x] Update cohort edit form
- [x] Update cohort related web services
- [x] Update cohort related lib functions
- [x] Unit tests
- [x] Behat tests
- blocks
-
MDL-77826 Include custom fields in cohort csv upload functionality
- Open
-
MDL-77532 Include custom fields in cohort report entity
- Closed
- caused a regression
-
MDL-78522 cohort_get_cohort can bypass context validation if $withcustomfields is true
- Closed
-
MDL-80550 CustomFields for cohorts with default value lead to "Invalid Record" for enrollment
- Closed
- has a non-specific relationship to
-
MDL-77355 Web service add function class not found
- Closed
-
MDL-57898 Add custom field types plugin and course custom fields functionality
- Closed
- will help resolve
-
MDL-78988 Custom fields for Groups and Cohorts
- Closed