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

Confusing number in Group overview User Count

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.7.4, 2.8.3, 2.9
    • Fix Version/s: 2.7.5, 2.8.3
    • Component/s: Groups
    • Labels:
    • Testing Instructions:
      Hide
      1. Create group without any users
      2. Go to group overview page and make sure "0" is displayed as user count
      3. Add users to the group
      4. Go to group overview page and make sure correct number is displayed as user count
      Show
      Create group without any users Go to group overview page and make sure "0" is displayed as user count Add users to the group Go to group overview page and make sure correct number is displayed as user count
    • Affected Branches:
      MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE
    • Fixed Branches:
      MOODLE_27_STABLE, MOODLE_28_STABLE
    • Pull Master Branch:
      wip-MDL-48847-master

      Description

      If a new group is created in Group overview in column 'User count' the number '1' is set automatically. This happens if no student or teacher is enroled for the course.

      If one student is added to the group '1' is showed, if two students are in the group '2' is visble.
      The field should count only users in the group. If there is no user in the group, the field should be empty or show '0'.

      Reproduce
      Create a new course
      Create a new group in the course
      Go to group/overview.php?id=

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                2/Feb/15