mirror of
https://github.com/moodle/moodle.git
synced 2025-03-17 06:00:05 +01:00
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.
10 lines
568 B
Plaintext
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. |