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

PLEEEEZZZZZ, use only non-empty grades in totals by default



    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Not a bug
    • Affects Version/s: 1.9
    • Fix Version/s: 1.9, 2.0
    • Component/s: Gradebook
    • Labels:
    • Affected Branches:
    • Fixed Branches:


      Of all of my recommended changes in the gradebook to make is usable for teachers and students, none do I feel more passionately about than this one.

      When an item is in the gradebook but has not yet been marked, it does NOT mean that the teacher wants it treated as a zero. It usually just means that the due date has not come, or if it has, that the teacher has not yet marked it. If the teacher wants it to be counted as a zero (normally because it did not come in), they can give it that mark of zero at the appropriate time. In the mean time, just compute the overall grade with everything that has been marked.

      With previous versions of Moodle, we needed to move things in and out of unweighted categories to give the inuititve results. Even with the new version, if this default changes, we will need to expect every teacher to get the customary setting right, not only for their course, but as they create every category. And the lock, hide, unlock cycle will not be an option, but somewhat of a requirement.

      Pleeeezzzz, before 1.9 ships. Change line var $aggregateonlygraded = 0; in lib/brade/grade_category.php to

      var $aggregateonlygraded = 1;

      Thank you!


        1. CorrectDeafults.jpg
          55 kB
          Gary Anderson
        2. EmptyGradesIgnored.patch
          0.8 kB
          Gary Anderson
        3. Upcoming assignment with the current default settings.jpg
          52 kB
          Gary Anderson
        4. Yet to be grade assignment marked as zero.jpg
          79 kB
          Gary Anderson
        5. Yet to be grade assignment marked as zero.jpg
          79 kB
          Gary Anderson

          Issue Links



              • Votes:
                0 Vote for this issue
                0 Start watching this issue


                • Created:
                  Fix Release Date: