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

Quiz Report: Bar Graph doesn't displayed maximum grade

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.9
    • 1.9.2
    • Quiz
    • None
    • WAMP + vista
    • MOODLE_19_STABLE
    • MOODLE_19_STABLE

    Description

      Course > Quiz > Attempts link (in order to retest, you need to have some "perfect" attempt in your Quiz)
      The bar graph doesn't display attempts for which student had perfect marks.

      Fix Suggestion:
      -----------------
      reportlib.php
      -----------------
      function quiz_report_grade_bands($bands, $quizid, $useridlist){
      ...

      + //Place the maximum (perfect) grades into the last band
      + $maxGradeTotal = $data[$bands];
      + $data[$bands-1] += $maxGradeTotal;
      + $data[$bands] = 0;

      return $data;
      }

      Attachments

        Activity

          People

            jamiesensei Jamie Pratt
            jerome Jérôme Mouneyrac
            Jérôme Mouneyrac Jérôme Mouneyrac
            Tim Hunt, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              11/Jul/08