mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 10:26:40 +02:00
MDL-59392 calendar: Apply event filters to main calendar view
This commit is contained in:
parent
c8b6e9ab34
commit
fc60d3194f
2 changed files with 24 additions and 3 deletions
|
@ -1049,7 +1049,7 @@ class calendar_information {
|
|||
public function add_sidecalendar_blocks(core_calendar_renderer $renderer, $showfilters=false, $view=null) {
|
||||
if ($showfilters) {
|
||||
$filters = new block_contents();
|
||||
$filters->content = $renderer->fake_block_filters($this->courseid, 0, 0, 0, $view, $this->courses);
|
||||
$filters->content = $renderer->event_filter();
|
||||
$filters->footer = '';
|
||||
$filters->title = get_string('eventskey', 'calendar');
|
||||
$renderer->add_pretend_calendar_block($filters, BLOCK_POS_RIGHT);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue