Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-61564

Cohort enrolment - allow multiple cohort selection

XMLWordPrintable

    • MOODLE_310_STABLE, MOODLE_311_STABLE, MOODLE_34_STABLE, MOODLE_39_STABLE, MOODLE_400_STABLE
    • MOODLE_400_STABLE
    • Hide

      Setup

      1. Create some site level cohorts.
      2. Enable the cohort-sync enrolment type
      3. Grant the capability "moodle/cohort:view" to the teacher role at the site level.

      Testing

      1. Login as a teacher
      2. Add a new "cohort-sync" enrolment method to a course.
      3. test adding a single cohort to the enrolment method and save.
      4. test again by adding multiple cohorts at the same time.
      Show
      Setup Create some site level cohorts. Enable the cohort-sync enrolment type Grant the capability "moodle/cohort:view" to the teacher role at the site level. Testing Login as a teacher Add a new "cohort-sync" enrolment method to a course. test adding a single cohort to the enrolment method and save. test again by adding multiple cohorts at the same time.

      This has been mentioned previously in MDL-49417

      Adding multiple cohort enrolments to a single course is time consuming. I think it would be better if the drop-list allowed multiple cohorts to be selected at a time, then create an enrolment instance for each cohort selected. (deleting/updating would still need to happen one at a time.) I think this makes more sense than adding support for a single enrolment instance to support multiple cohorts.

      To achieve this I think we need to:

      1. Remove the ability to set a custom name in the cohort enrolment method
      2. make the name show as something like "Cohort enrolment: XXX" on the listing page.
      3. modify the cohort selector to allow multiple cohorts to be selected - which would then create an enrolment instance for each cohort.

      I think 1/2 will also improve overall UI - at the moment if a teacher sets some basic text in the custom name there is no way on the main list to see what cohort is set in a particular enrolment instance.

        1. MDL-61564_multiple 1.png
          80 kB
          Angelia Dela Cruz
        2. MDL-61564_multiple 2.png
          90 kB
          Angelia Dela Cruz
        3. MDL-61564_single.png
          75 kB
          Angelia Dela Cruz

            danmarsden Dan Marsden
            danmarsden Dan Marsden
            Ilya Tregubov Ilya Tregubov
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Angelia Dela Cruz Angelia Dela Cruz
            Votes:
            5 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 35 minutes
                35m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.