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

Make grade item mappings automatic when importing grades with correct headers

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Waiting for peer review
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.5.2, 3.6, 3.6.3, 3.7.1, 3.8.1, 3.9
    • Fix Version/s: None
    • Component/s: Gradebook
    • Labels:

      Description

      Right now, there are multiple formats to export grades from the gradebook, and multiple ways to import.

      However, the process of importing grades is made very tiresome by the inability of moodle to automatically map columns to grade items, even when those columns are named exactly as the grade items.

      It would greatly improve the workflow of teachers that want to export grades to excel, edit them there, and re-import them into Moodle, if the grade item mapping could be made automatic.

      This patch automates mapping of identifier fields and grade items by defaulting the dropdown menus to the matching items.

      Both grades and feedbacks are automatically mapped. In order to do so, /grade/export/lib.php has also be adjusted to use the lang string grade/feedback instead of core/feedback. Since those two lang strings are not necessarily the same in all language packs, export should use the same as import, to make auto-mapping of feedback items possible.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                3 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated: