MDL-72275 timeline: Display "all" time on page load fix
commitdcf22391981b355bfb818d01413a249bcaeef9df
authorMichael Hawkins <michaelh@moodle.com>
Wed, 18 Aug 2021 18:58:45 +0000 (19 02:58 +0800)
committerMichael Hawkins <michaelh@moodle.com>
Fri, 24 Sep 2021 03:24:49 +0000 (24 11:24 +0800)
treeeababa8ca35c4ac8f68d97c43766df97f45ef347
parent0360329c46ad4c1d20e84268d6507f0ea29cc2f0
MDL-72275 timeline: Display "all" time on page load fix

When the timeframe filter was set to "all" when the timeline
block was initially loaded, an incorrect value rendered into
the template meant the timeframe limit was set to 0 (which will
return no results) instead of setting no limit (which would fetch all
 action events, as intended).
blocks/timeline/classes/output/main.php
blocks/timeline/tests/behat/block_timeline_courses.feature