Merge branch 'MDL-60732-master' of git://github.com/damyon/moodle
authorDavid Monllao <davidm@moodle.com>
Wed, 8 Nov 2017 16:48:07 +0000 (17:48 +0100)
committerDavid Monllao <davidm@moodle.com>
Wed, 8 Nov 2017 16:48:07 +0000 (17:48 +0100)
1  2 
user/renderer.php

@@@ -241,10 -237,6 +240,9 @@@ class core_user_renderer extends plugin
              }
          }
  
 +        // Add missing applied filters to the filter options.
 +        $filteroptions = $this->handle_missing_applied_filters($filtersapplied, $filteroptions);
 +
          $indexpage = new \core_user\output\unified_filter($filteroptions, $filtersapplied);
          $context = $indexpage->export_for_template($this->output);