moodle/blocks/timeline/upgrade.txt
Michael Hawkins e01f2d514a MDL-73068 timeline: Update courses view to omit courses without events
Previously, the timeline block courses view included all courses in
alphabetical order, whether they contained any events matching the
relevant filters or not. This could be tedious and misleading if there
were many courses with no events appearing before a course which did
have matching events. Now, courses are only included if they contain
events matching the currently set time filter and search term. When
those values are modified, the block will be refreshed and fetch
results for the current values, and also takes these into
consideration when determining whether to display the show more courses
button.
2022-01-18 18:22:45 +08:00

10 lines
568 B
Plaintext

This file describes API changes in the timeline block code.
=== 4.0 ===
* The timeline block courses view has been updated to only list courses which contain at least one action event within the chosen
filter, so now uses \core_course\external\get_enrolled_courses_with_action_events_by_timeline_classification to fetch courses
instead of core_course_external::get_enrolled_courses_by_timeline_classification, which fetches all courses within the limit.
=== 3.7 ===
* The 'block/timeline:addinstance' capability has been removed. It has never been used in code.