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

Date labels on student hits activity report do not align with data.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.7.3, 2.8.3, 2.9
    • Fix Version/s: 2.7.6, 2.8.4
    • Component/s: Reports
    • Labels:
    • Testing Instructions:
      Hide
      1. Generate some activity in the course as a student (just one page view)
      2. As teacher go to student activity reports, view "all logs" and "today's logs"
      3. Make sure the y-axis gridlines correspond to the integer numbers
      4. Generate more activity as a student
      5. as a teacher look at the reports again.

      If the maximum number of hits is less than 5, the number of gridlines should be the same as the maximum number of hits. Otherwise the maximum on Y-axis will be increased to be a multiply of 5 and 5 gridlines will be displayed

      Show
      Generate some activity in the course as a student (just one page view) As teacher go to student activity reports, view "all logs" and "today's logs" Make sure the y-axis gridlines correspond to the integer numbers Generate more activity as a student as a teacher look at the reports again. If the maximum number of hits is less than 5, the number of gridlines should be the same as the maximum number of hits. Otherwise the maximum on Y-axis will be increased to be a multiply of 5 and 5 gridlines will be displayed
    • Affected Branches:
      MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE
    • Fixed Branches:
      MOODLE_27_STABLE, MOODLE_28_STABLE
    • Pull Master Branch:
      wip-MDL-48794-master

      Description

      When viewing the Hits log for student activity reports, the date labels do not align with the graph data presented.

      To replicate:

      1. Enroll student in a course and create activity over several days;
      2. As teacher or admin, navigate to Profile settings for (user) > Activity reports > All logs.
      3. Note that the date labels do not line up correctly with the dates the student actually had activity on the graph presented.

      This appears in both Legacy and Standard log view and on multiple themes.

        Attachments

          Activity

            People

            Assignee:
            marina Marina Glancy
            Reporter:
            michael.robinette Mike Robinette
            Peer reviewer:
            Simey Lameze
            Integrator:
            Eloy Lafuente (stronk7)
            Tester:
            Adrian Greeve
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              9/Mar/15