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

First user in user select in gradebook user report is always missing

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Gradebook
    • Labels:
      None
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      I noticed that although I had 35 students in a course the user select box in gradebook user report only had 34 users.

      To see this issue simply browse to any course with at least one student, take note of the number of students and then view the user report for that course.
      You will notice that there is one less student shown in the drop down in the top right than there are actual students.

      This issue seems to have popped up only in HEAD as the line that causes the problem isn't in 19.
      I have attached a patch that I believe fixes this very minor bug if somebody could please review this for me that would be most appreciated.

        Attachments

          Activity

            People

            Assignee:
            andyjdavis Andrew Davis
            Reporter:
            samhemelryk Sam Hemelryk
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              24/Nov/10