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

"Last accessed" sort choice on the module dashboard doesn't work unless refresh the page

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Waiting for integration review
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.9.4
    • Fix Version/s: None
    • 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 that is not at the top of the list.
      4. Go back to the dashboard page.
        => the courses in 'Course overview' block should show in correct order. The course has recently viewed should show in the first position.
      5. Sort the course overview by Course name.
      6. Sort the course overview by Last Accessed.
      7. Verify 'Course overview' block. That should show correct order.
      Show
      Using the app, log in to school.moodledemo.net as a student. Sort the course overview by Last Accessed. View a course that is not at the top of the list. Go back to the dashboard page. => the courses in 'Course overview' block should show in correct order. The course has recently viewed should show in the first position. Sort the course overview by Course name. Sort the course overview by Last Accessed. Verify 'Course overview' block. That should show correct order.
    • Affected Branches:
      MOODLE_39_STABLE
    • Pull Master Branch:
      MOBILE-3667_integration

      Description

      When we view a course and back to dashboard, the result in the Course overview block is not correct if we sort by "Last accessed".

      Steps to reproduce:

      1. Using the app, log in to 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 Dashboard page.
      5. Sort the Course overview block by Course name.
      6. Sort the Course overview block by Last Accessed.

      Actual: The list of courses is in the same order. You must pull-to-refresh to update the order of the list.

      Expected: The course that you viewed is now at the top of the list when we sort by "Last accessed"
       
       

        Attachments

          Activity

            People

            Assignee:
            sna67 Sang Nguyen Anh
            Reporter:
            sna67 Sang Nguyen Anh
            Peer reviewer:
            Sam Marshall Sam Marshall
            Participants:
            Component watchers:
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: