Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-22938

Course participants list not keeping "inactive for" filter on page changes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Trivial Trivial
    • None
    • 1.9.9
    • None
    • None
    • Any
    • MOODLE_19_STABLE

      In user/index.php, select, say, '2 weeks' for "Inactive for more than". Now, change pages (if there are enough results) or select a surname/firstname filter. The "inactive for" filter is now reset.

      This can be fixed by changing (at around line 270):

      $baseurl = preg_replace('/&accesssince='.$accesssince.'/','',$baseurl);
      popup_form($baseurl.'&accesssince=',$timeoptions,'timeoptions', ...

      to:

      $accesssinceurl = preg_replace('/&accesssince='.$accesssince.'/','',$baseurl);
      popup_form($accesssinceurl.'&accesssince=',$timeoptions,'timeoptions', ...

        1. page 1 with the filter.JPG
          110 kB
          lucimeire parreiras
        2. page 2 without a filter.png
          402 kB
          lucimeire parreiras

            moodle.com Moodle HQ
            jonof Jonathon Fowler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.