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

Add the ability to choose the default import and export format in the gradebook

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 2.6
    • Gradebook
    • MOODLE_26_STABLE
    • MDL-42159-master
    • Hide

      Run this phpunit test:
      phpunit core_grading_lib_testcase grade/tests/lib_test.php

      • As a teacher, go to any course in the gradebook and click in the export. The export formats should be sorted in the plugin name alphabetical order.
      • Click in the import. The import format should be sorted in the plugin name alphabetical order.
      • As admin modify these new admin settings:
        • grade_export_customsorting: xls,txt
        • grade_import_customsorting: xls
      • As a teacher, go to the same course in the gradebook and click in the export. The export format should now begin with the xls one, after, the txt one.
      • Click in the import. The import format should begin with the xls one.
      Show
      Run this phpunit test: phpunit core_grading_lib_testcase grade/tests/lib_test.php As a teacher, go to any course in the gradebook and click in the export. The export formats should be sorted in the plugin name alphabetical order. Click in the import. The import format should be sorted in the plugin name alphabetical order. As admin modify these new admin settings: grade_export_customsorting: xls,txt grade_import_customsorting: xls As a teacher, go to the same course in the gradebook and click in the export. The export format should now begin with the xls one, after, the txt one. Click in the import. The import format should begin with the xls one.

      Currently, import and export formats are sorted in alphabetical order. The file format selected by default is the first.

      It would be interesting to choose the file format displayed by default by at least one if these:

      1. Adding a $CFG parameter to select the default format
      2. Adding a $CFG parameter to determine the sort order of the elements.

      But I think it would be better to choose the order of the file formats. it offer more. The default may remain the first one.

            leblangi Gilles-Philippe Leblanc
            leblangi Gilles-Philippe Leblanc
            Sam Hemelryk Sam Hemelryk
            Votes:
            9 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

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