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

Add column to show the number of attachments that a user has added to the forum

XMLWordPrintable

    • MOODLE_38_STABLE
    • MOODLE_38_STABLE
    • Hide

      Setup

      1. Create a course with:
        1. at least one teacher enrolled (teacher1)
        2. 3 students enrolled (student1, student2, student3)
          Note: You will not log in as student3 for these tests but a user without interactions is required for complete testing
      2. Create a new forum in the course
      3. Log in as teacher1.
      4. Post a discussion in forum1, attaching a single file to the post.
      5. Click 'reply' on the post, and then click 'advanced' to open the advanced reply editor.
      6. Add one image to the Message using atto editor's 'insert image' feature, and an additional file as a separate attachment to the reply, then submit the reply.
      7. Log out, and log back in as student1.
      8. Navigate back to forum1.
      9. Post a reply to one of the teacher's posts, but do not attach any files.
      10. Log out, and log back in as student2.
      11. Navigate back to forum1.
      12. Create a new discussion, attaching 2 files to the one post.
      13. Reply to the post, attaching 1 file to the reply.
      14. 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. 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
      1. CONFIRM each user's summary matches the following data:
        User Posts Replies Attachments
        Teacher 1 1 3
        Student1 0 1 0
        Student2 1 1 3
        Student3 0 0 0
      1. Click on the 'Number of attachments' heading and CONFIRM the report correctly sorts by that column's values.
      Show
      Setup Create a course with: at least one teacher enrolled (teacher1) 3 students enrolled (student1, student2, student3) Note: You will not log in as student3 for these tests but a user without interactions is required for complete testing Create a new forum in the course Log in as teacher1. Post a discussion in forum1, attaching a single file to the post. Click 'reply' on the post, and then click 'advanced' to open the advanced reply editor. Add one image to the Message using atto editor's 'insert image' feature, and an additional file as a separate attachment to the reply, then submit the reply. Log out, and log back in as student1. Navigate back to forum1. Post a reply to one of the teacher's posts, but do not attach any files. Log out, and log back in as student2. Navigate back to forum1. Create a new discussion, attaching 2 files to the one post. Reply to the post, attaching 1 file to the reply. 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. 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 CONFIRM each user's summary matches the following data: User Posts Replies Attachments Teacher 1 1 3 Student1 0 1 0 Student2 1 1 3 Student3 0 0 0 Click on the 'Number of attachments' heading and CONFIRM the report correctly sorts by that column's values.
    • 1
    • Internationals - 3.8 Sprint 6, Internationals - 3.8 Sprint 7

      Attachments column
      Showing the count of attachments in the posts which match the filter

            michaelh Michael Hawkins
            dobedobedoh Andrew Lyons
            Andrew Lyons Andrew Lyons
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 days, 3 hours, 46 minutes
                2d 3h 46m

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