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

Add columns to show earliest and most recent post timestamps

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Setup

      1. Create a new forum (forum1) in a course with multiple enrolled users, including at least the following: 1 teacher (teacher1) and 2 students (student1, student2). (Note: You do not log in as student2 during this testing, but they must exist to test a student with no interaction still gives the expected result, with no errors.)
      2. Log in as teacher1.
      3. Post a discussion in forum1, note down the date/time shown on the post (time1).
      4. Wait until at least 1 minute has elapsed. Reply to the discussion, noting down the date/time shown on that post (time2).
      5. Log out.
      6. Wait until at least 1 minute has elapsed and log in as student1.
      7. Navigate back to forum1.
      8. Post a reply to one of the teacher's posts, note down the date/time shown on that post (time3).
      9. Log out.

      Test - report values match what has been created in the forum

      1. Log in as teacher1.
      2. Navigate to forum1.
      3. In the actions menu, follow the 'Summary report' option, to open the forum summary report page.
      4. Click the 'Generate report' button.
      5. CONFIRM the report table headings match the following, in the same order:
        First name / Surname Number of discussions posted Number of replies posted Number of attachments Earliest post Most recent post
      6. CONFIRM each user's summary matches the following data (date/times as per 'time1-3' mentioned in setup):
        User Posts Replies Attachments Earliest post Latest post
        Teacher 1 1 0 time1 time2
        Student1 0 1 0 time3 time3
        Student2 0 0 0 - -
      7. Click on each date column's heading and CONFIRM the report correctly sorts the rows by the relevant date/time order.
      Show
      Setup Create a new forum (forum1) in a course with multiple enrolled users, including at least the following: 1 teacher (teacher1) and 2 students (student1, student2). ( Note: You do not log in as student2 during this testing, but they must exist to test a student with no interaction still gives the expected result, with no errors.) Log in as teacher1. Post a discussion in forum1, note down the date/time shown on the post (time1). Wait until at least 1 minute has elapsed. Reply to the discussion, noting down the date/time shown on that post (time2). Log out. Wait until at least 1 minute has elapsed and log in as student1. Navigate back to forum1. Post a reply to one of the teacher's posts, note down the date/time shown on that post (time3). Log out. Test - report values match what has been created in the forum Log in as teacher1. Navigate to forum1. In the actions menu, follow the 'Summary report' option, to open the forum summary report page. Click the 'Generate report' button. CONFIRM the report table headings match the following, in the same order: First name / Surname Number of discussions posted Number of replies posted Number of attachments Earliest post Most recent post CONFIRM each user's summary matches the following data (date/times as per 'time1-3' mentioned in setup): User Posts Replies Attachments Earliest post Latest post Teacher 1 1 0 time1 time2 Student1 0 1 0 time3 time3 Student2 0 0 0 - - Click on each date column's heading and CONFIRM the report correctly sorts the rows by the relevant date/time order.
    • Affected Branches:
      MOODLE_38_STABLE
    • Fixed Branches:
      MOODLE_38_STABLE
    • Pull Master Branch:
    • Story Points:
      1
    • Sprint:
      Internationals - 3.8 Sprint 6, Internationals - 3.8 Sprint 7
    • Issue size:
      Small

      Description

      Add two columns to the forum summary report, one for each user's earliest post, and one for their most recent.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                michaelh Michael Hawkins
                Reporter:
                michaelh Michael Hawkins
                Peer reviewer:
                Andrew Nicols
                Participants:
                Component watchers:
                Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  18/Nov/19

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 7 hours, 25 minutes
                  7h 25m