-
Bug
-
Resolution: Fixed
-
Minor
-
2.3, 2.4.1, 2.5
-
MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
-
MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE
-
MDL-33546-master -
When moving a section in a course using the Weekly format, if you move the section highlighted as current (according to the date) or if you move sections around the current week, the highlighting of the current week sticks with the original section rather than adjusting to match the section that contains the current date.
Replication steps:
- Create a course and set the format to Weekly format (or use an existing course and switch it)
- Ensure the range of time covered by the course includes the current date
- The section relevant to the current date should be highlighted; drag this section to a new location
- Refresh the course page
- Move sections around the currently highlighted section causing the section dates to adjust
Expected result: the highlighting of the current section changes to highlight the section relevant to the section containing the current date
Actual result: the highlighting sticks to the previously highlighted section
After refreshing the course page, the highlighting corrects itself.