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

Make list of courses in flat nav match courses in course overview "In progress" tab.

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Create 20 courses and enrol a user in every course.
      Give 4 courses an end date in the past
      Give 4 courses a start date in the future
      Mark the user as completed for another 4 courses

      Login as this user.
      Verify in the flat nav for boost there are only 8 courses listed and that these are the same courses listed in the 'in progress' tab of the course overview block.
      Verify there are 8 courses in the past tab for the course overview block
      Verify there are 8 courses in the in progress tab for the course overview block
      Verify there are 4 courses in the future tab for the course overview block

      Revert the commits for this patch. Go to any page and reload until the number of DB reads reported in the performance footer is stable. Re-apply the commits. Reload until the number of DB reads reported in the performance footer is stable. Verify the number of DB reads is the same or less.

      Show
      Create 20 courses and enrol a user in every course. Give 4 courses an end date in the past Give 4 courses a start date in the future Mark the user as completed for another 4 courses Login as this user. Verify in the flat nav for boost there are only 8 courses listed and that these are the same courses listed in the 'in progress' tab of the course overview block. Verify there are 8 courses in the past tab for the course overview block Verify there are 8 courses in the in progress tab for the course overview block Verify there are 4 courses in the future tab for the course overview block Revert the commits for this patch. Go to any page and reload until the number of DB reads reported in the performance footer is stable. Re-apply the commits. Reload until the number of DB reads reported in the performance footer is stable. Verify the number of DB reads is the same or less.
    • Affected Branches:
      MOODLE_32_STABLE
    • Fixed Branches:
      MOODLE_32_STABLE, MOODLE_33_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-58136-master

      Description

      We are going to treat this as a bug and look for backportable solutions.

      1. Reduce the list of displayed courses to match the logic used to filter courses in the "In progress" tab of the Course Overview block
      2. Introduce an upper limit on the number of courses displayed in this list by default (separate issue MDL-59140).
      3. Allow expanding / collapsing the list of courses via the "My courses" entry (separate issue MDL-59141).

      Note: Introducing a search / filter would be useful for some types of users - but for users with a short list this would make the experience worse. We can look at this as a new feature when the list is longer than X - but it would require a separate issue as it is not backportable.

        Attachments

        1. Courses.jpg
          62 kB
          Rick Jerz
        2. My Courses.jpg
          21 kB
          Rick Jerz

          Issue Links

            Activity

              People

              • Votes:
                35 Vote for this issue
                Watchers:
                34 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  10/Jul/17