-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
4.2.8, 4.3.4
-
MOODLE_402_STABLE, MOODLE_403_STABLE
Hi all.
In the Course Overview block, when the user selects different options in the filters, such as "In progress", "Future" and "Past" and then selects the "All" option, when changing to the next page, the listed courses are not actually all the courses.
Steps to replicate:
- Login as admin.
- Create multiple courses in order to use the pagination. More than 25 courses are necessary to have more than 2 pages.
- Go to the My Courses page.
- In the Course Overview block, use the pagination to go to the next page until you reach the last page. This is to check the number of pages needed to list all the courses.
- Select "In progress" from the filters.
- Select "Future" from the filters.
- Select "Past" from the filters.
- Select "All" from the filters.
- Inspect the page to check the Network requests to the "core_course_get_enrolled_courses_by_timeline_classification" method.
- Change to the next page using the pagination.
- Check that there is one request per filter used.
- Check that not all the courses are listed when using the pagination.
I recorded a video with the described error:
Screen Recording 2024-06-20 at 10.36.19 AM.mov
I think that the expected behavior should be to have only one request from the last filter used so the listed courses correspond to the selected filter.
- has been marked as being related by
-
MDL-77688 block_myoverview: Filter and search cannot be combined
-
- Open
-