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

Create "Comments" custom report source

    XMLWordPrintable

Details

    • MOODLE_401_STABLE
    • MOODLE_401_STABLE
    • Hide

      Create some comments

      1. Log in as admin
      2. Create new user
      3. Log out
      4. Log in as new user
      5. Navigate to profile
      6. Press Miscellaneous > Blog entries
      7. Press Add a new entry and fill in form
      8. Open Comments on blog entry
      9. Enter a comment: "This is my first blog", press Save comment
      10. Log out
      11. Log in as admin
      12. Navigate to profile of test user
      13. Press Miscellaneous > View all blog entries
      14. Open Comments on blog entry
      15. Enter a comment: "This is great", press Save comment

      Create report

      1. Navigate to Reports in user menu
      2. Create new report from Comments report source
        • Ensure Include default setup is checked
      3. Confirm presence and accuracy of following comments
        • Context
        • Content
        • Full name
        • Time created
      4. Add Comment > Context URL column
      5. Confirm the URL links to the profile of test user
      6. Open report conditions
      7. Amend User > Full name condition:
        • Set to Contains: Admin
      8. Add Comment > Content condition:
        • Set to Is equal to: This is great
      9. Apply conditions
      10. Confirm admin user comment is returned
      Show
      Create some comments Log in as admin Create new user Log out Log in as new user Navigate to profile Press Miscellaneous > Blog entries Press Add a new entry and fill in form Open Comments on blog entry Enter a comment: "This is my first blog", press Save comment Log out Log in as admin Navigate to profile of test user Press Miscellaneous > View all blog entries Open Comments on blog entry Enter a comment: "This is great", press Save comment Create report Navigate to Reports in user menu Create new report from Comments report source Ensure Include default setup is checked Confirm presence and accuracy of following comments Context Content Full name Time created Add Comment > Context URL column Confirm the URL links to the profile of test user Open report conditions Amend User > Full name condition: Set to Contains: Admin Add Comment > Content condition: Set to Is equal to: This is great Apply conditions Confirm admin user comment is returned

    Description

      The purpose of this report source is to allow reporting on comments made by users in various contexts (and add comment entity that can be easily re-used as appropriate for reports on elements that support commenting)

      Columns

      1. Comment
        • Content
        • Context
        • Plugin
        • Area
        • Item ID
        • Time created
      2. User
        • <everything from user entity>

      Conditions/filters

      1. Comment
        • Content
        • Time created
      2. User
        • <everything from user entity>

      Attachments

        Issue Links

          Activity

            People

              pholden Paul Holden
              pholden Paul Holden
              Odei Alba Odei Alba
              Victor Déniz Falcón Victor Déniz Falcón
              Angelia Dela Cruz Angelia Dela Cruz
              Amaia Anabitarte, Carlos Escobedo, Laurent David, Mikel Martín Corrales, Sabina Abellan, Sara Arjona (@sarjona), David Carrillo, Paul Holden
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                28/Nov/22

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 5 hours, 30 minutes
                  5h 30m