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

Confusing number in Group overview User Count

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.7.4, 2.8.3, 2.9
    • 2.7.5, 2.8.3
    • Groups
    • MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE
    • MOODLE_27_STABLE, MOODLE_28_STABLE
    • wip-MDL-48847-master
    • 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

    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

            marina Marina Glancy
            ralfh Ralf Hilgenstock
            Simey Lameze Simey Lameze
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            David Woloszyn, Huong Nguyen, Jake Dallimore, Michael Hawkins, Stevani Andolo
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              2/Feb/15