mirror of
https://github.com/moodle/moodle.git
synced 2025-04-15 13:33:52 +02:00
MDL-72275 timeline: Add default offset to template
This value was being passed in the template, but the template had 0 hardcoded instead of injecting the context value. With the other bug fixes in this issue correctly loading the "All" view properly on page load, this uncovered that at load time, the course view would not load overdue items, which also meant a behat test was failing.
This commit is contained in:
parent
0a7aa0a878
commit
c848e34fd4
@ -58,7 +58,7 @@
|
||||
data-limit="2"
|
||||
data-offset="0"
|
||||
data-days-limit="{{dayslimit}}"
|
||||
data-days-offset="0"
|
||||
data-days-offset="{{daysoffset}}"
|
||||
data-no-events-url="{{urls.noevents}}"
|
||||
id="view_courses_{{uniqid}}"
|
||||
>
|
||||
|
Loading…
x
Reference in New Issue
Block a user