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

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.9.4
    • 4.0.0
    • Dashboard
    • 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.
    • MOODLE_39_STABLE
    • MOODLE_400_STABLE
    • Moodle App 4.0

    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

            sna67 Sang Nguyen Anh
            sna67 Sang Nguyen Anh
            Sam Marshall Sam Marshall
            Pau Ferrer Pau Ferrer
            Isabel Renedo Rouco Isabel Renedo Rouco
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              22/Apr/22