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

Download userlogs per user not working in 2.7.x

XMLWordPrintable

    • MOODLE_27_STABLE
    • MOODLE_27_STABLE, MOODLE_28_STABLE
    • wip-mdl-46865
    • Hide

      Pre-requisite

      1. Moodle site with few courses and users
      2. Modify COURSE_MAX_USERS_PER_DROPDOWN and COURSE_MAX_COURSES_PER_DROPDOWN in course/lib.php to number less then user/courses on site.

      Test

      1. Go to site administration -> reports -> logs
      2. Make sure you see 2 "more" link
        • Clicking first link should show all courses in drop-down
        • Click second link should show all users in drop-down
      3. Reset values in course/lib.php
      4. Go to site administration -> reports -> logs
      5. Make suer both user and course drop-down are visible (If course/users are less then 1000 on site)
      6. Repeat above steps by changing 1 value in course/lib.php and make sure 1 link is visible and clicking that should show all courses/users.
      7. Try filter log report and make sure it works fine.
      Show
      Pre-requisite Moodle site with few courses and users Modify COURSE_MAX_USERS_PER_DROPDOWN and COURSE_MAX_COURSES_PER_DROPDOWN in course/lib.php to number less then user/courses on site. Test Go to site administration -> reports -> logs Make sure you see 2 "more" link Clicking first link should show all courses in drop-down Click second link should show all users in drop-down Reset values in course/lib.php Go to site administration -> reports -> logs Make suer both user and course drop-down are visible (If course/users are less then 1000 on site) Repeat above steps by changing 1 value in course/lib.php and make sure 1 link is visible and clicking that should show all courses/users. Try filter log report and make sure it works fine.

      In order to reproduce you need either more than 1000 courses in the system or tweak the code to set the COURSE_MAX_USERS_PER_DROPDOWN to something small.


      In Moodle 2.6 you could download user logs from a specific users. This could be found under site administration - reports - logs.

      In Moodle 2.7 this option has disappeared. Both the possibility to download as well as the option to select a certain user.

      See screenshots.

        1. 2.6.png
          2.6.png
          9 kB
        2. 2.7.png
          2.7.png
          40 kB

            rajeshtaneja Rajesh Taneja
            elodelta Richard van Iwaarden
            Mark Nelson Mark Nelson
            Dan Poltawski Dan Poltawski
            Jetha Chan Jetha Chan
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved:

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