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:
Michael Hawkins 2021-09-17 16:45:03 +08:00
parent 8061730d7b
commit 5b6f95647b

View file

@ -58,7 +58,7 @@
data-limit="2" data-limit="2"
data-offset="0" data-offset="0"
data-days-limit="{{dayslimit}}" data-days-limit="{{dayslimit}}"
data-days-offset="0" data-days-offset="{{daysoffset}}"
data-no-events-url="{{urls.noevents}}" data-no-events-url="{{urls.noevents}}"
id="view_courses_{{uniqid}}" id="view_courses_{{uniqid}}"
> >