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

Narrow down the Grade percentage options in the popup Grade listbox

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.9.13, 2.1.1
    • Fix Version/s: None
    • Component/s: Questions, Quiz
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE, MOODLE_21_STABLE

      Description

      When setting grades for question's options (ex. multi choice)

      Too many teachers open up the grade (percentage) listbox and scroll down to the -100% (minus 100 percent)
      and choose it as the "100%" grade. due to misunderstanding of the UI.

      The Initial popup window of the grade's list is too small to show the "100%" at the top, as the first on the list.
      and the option "83%" shows instead, as the first. so teachers scroll down (for unknown reason!)
      and select the -100% option. wired.

      To prevent this...
      I am suggesting to narrow down the list of options.

      lib/questionlib.php (line 300)

      from :

       
      function get_grade_options() {
          // define basic array of grades
          $grades = array(
              1.00,
              0.90,
              0.83333,
              0.80,
              0.75,
              0.70,
              0.66666,
              0.60,
              0.50,
              0.40,
              0.33333,
              0.30,
              0.25,
              0.20,
              0.16666,
              0.142857,
              0.125,
              0.11111,
              0.10,
              0.05,
              0);

      To:

       
      function get_grade_options() {
          // define basic array of grades
          $grades = array(
              1.00,
              0.90,
              0.80,
              0.75,
              0.70,
              0.66666,
              0.60,
              0.50,
              0.40,
              0.33333,
              0.30,
              0.25,
              0.20,
              0.125,
              0.10,
              0.05,
              0);

        Attachments

          Activity

            People

            Assignee:
            timhunt Tim Hunt
            Reporter:
            nadavkav Nadav Kavalerchik
            Participants:
            Component watchers:
            Tim Hunt, Andrew Nicols, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Tim Hunt, Andrew Nicols, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: