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

Allow teachers to move students between options in a Choice

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 1.9.7, 2.7
    • Fix Version/s: None
    • Component/s: Choice
    • Labels:
    • Database:
      Any
    • Affected Branches:
      MOODLE_19_STABLE, MOODLE_27_STABLE

      Description

      If, as a teacher, I want to change a student's choice, I either have to ask them to do it, or else modify the Moodle database directly. It would be useful to be able to do this, especially where Choice is being used to allow students to select seminar groups.

      This patch will allow a teacher (or anyone who has mod/choice:deleteresponses capability) to select one or more users in the results table, and change their choice. If the users are in the 'unanswered' column, then they get assigned to the new option. The last-modified time is unchanged by this operation.

      If the target option is already full, this will be indicated in the drop-down, but if you attempt to move the user anyway, nothing will happen.

      If you attempt to delete a user from the "unanswered" column, nothing will happen.

        Attachments

        1. choice.php.patch
          1 kB
        2. lib.php.patch
          5 kB
        3. report.php.patch
          2 kB
        4. view.php.patch
          2 kB

          Issue Links

            Activity

              People

              Assignee:
              danmarsden Dan Marsden
              Reporter:
              daveyboond Steve Bond
              Participants:
              Component watchers:
              Dan Marsden, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: