Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-3400

"Last accessed" module list sort is not updated after a course is viewed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.8.2
    • Fix Version/s: 3.9.0
    • Component/s: Dashboard
    • Labels:
    • Testing Instructions:
      Hide
      1. Using the app, log in to school.moodledemo.net as a student.
      2. Sort the course overview by Last Accessed.
      3. View a course (i will call it course 1) that is not at the top of the list.
      4. Go back to the dashboard page.
        => the courses in 'Recently accessed courses' block should show the correct order. The course 1 should show in the first position.
        => the courses in 'Course overview' block should show in correct order. The course 1 should show in the first position.
      5. Sort the course overview by Course name.
      6. Sort the course overview by Last Accessed.
        => the courses in 'Course overview' block should show in correct order. The course 1 should show in the first position.
      7. View another course (i will call it course 2) that is not at the top of the list.
      8. Go back to the dashboard page.
        => the courses in 'Recently accessed courses' block should show the correct order. The course 2 should show in the first position.
        => the courses in 'Course overview' block should show in correct order. The course 2 should show in the first position.
      9. Wait 60 seconds
      10. View course 1 again.
      11. Go back to the dashboard page.
        => the courses in 'Recently accessed courses' block should show the correct order. The course 1 should show in the first position.
        => the courses in 'Course overview' block should show in correct order. The course 1 should show in the first position.
      Show
      Using the app, log in to school.moodledemo.net as a student. Sort the course overview by Last Accessed. View a course (i will call it course 1) that is not at the top of the list. Go back to the dashboard page. => the courses in 'Recently accessed courses' block should show the correct order. The course 1 should show in the first position. => the courses in 'Course overview' block should show in correct order. The course 1 should show in the first position. Sort the course overview by Course name. Sort the course overview by Last Accessed. => the courses in 'Course overview' block should show in correct order. The course 1 should show in the first position. View another course (i will call it course 2) that is not at the top of the list. Go back to the dashboard page. => the courses in 'Recently accessed courses' block should show the correct order. The course 2 should show in the first position. => the courses in 'Course overview' block should show in correct order. The course 2 should show in the first position. Wait 60 seconds View course 1 again. Go back to the dashboard page. => the courses in 'Recently accessed courses' block should show the correct order. The course 1 should show in the first position. => the courses in 'Course overview' block should show in correct order. The course 1 should show in the first position.
    • Affected Branches:
      MOODLE_38_STABLE
    • Fixed Branches:
      MOODLE_39_STABLE
    • Pull Master Branch:
      MOBILE-3400-integration
    • Sprint:
      Moodle App 3.9.0

      Description

      Steps to reproduce:

      1. Using the app, log in to school.moodledemo.net as a student.
      2. Sort the course overview by Last Accessed.
      3. View a course that is not at the top of the list.
      4. Go back to the course overview page.
      5. Sort the course overview by Course name.
      6. Sort the course overview by Last Accessed.

      Expected: The course that you viewed is now at the top of the list.
      Actual: The list of courses is in the same order. You must pull-to-refresh to update the order of the list.

        Attachments

          Activity

            People

            Assignee:
            tiennguyenphuc Tien Nguyen
            Reporter:
            marxjohnson Mark Johnson
            Peer reviewer:
            Mark Johnson
            Integrator:
            Dani Palou
            Tester:
            Noel De Martin
            Participants:
            Component watchers:
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              26/Jun/20