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

not all participants show in coure list when looking at a small group

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.8.3
    • Fix Version/s: 1.9, 2.0
    • Component/s: Groups
    • Labels:
      None
    • Environment:
      LAMP
    • Affected Branches:
      MOODLE_18_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE, MOODLE_20_STABLE

      Description

      Only a minor problem but annoying for novice users.

      If in a course with a large number of students put into groups a teacher selects a group with more than 20 students in then an alphabetical list (called an initialsbar I believe) appears for firstname and surname. If on this list they select a particular letter e.g "P" for surname then they only see those surnames beginning with S.

      If they now use the drop down list of groups to view another group that has fewer than 20 students they will NOT see the initialsbar BUT the previous selection still holds (in the example above they would still only see participants with surnames beginning with S). As the initialsbar is not visible this causes a lot of confusion. It took me quite a time to work out what the problem was as I was usually simply told by teachers that the students had simply "disappeared" from their lists. When I went to investigate they had invariably logged out and ha to log in again to show me the problem and of course the students had magically reappeared by then.

      I would suggest the following change in file

      /moodle/user/index.php

      change line 389 from
      $table->initialbars($totalcount > $perpage);
      to
      $table->initialbars(true);

      This will then always show the init1alsbar

        Attachments

          Activity

            People

            Assignee:
            poltawski Dan Poltawski
            Reporter:
            j.ryan John Ryan
            Tester:
            Nobody
            Participants:
            Component watchers:
            Andrew Nicols, Dongsheng Cai, 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:
              Fix Release Date:
              3/Mar/08