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

Allow reporting/filtering on context path and parent

XMLWordPrintable

    • MOODLE_403_STABLE
    • MOODLE_403_STABLE
    • Hide
      1. Log in as admin
      2. Create two courses
        • Course 1
        • Course 2
      3. In Course 1:
        • Create a Folder resource and upload two files
        • Create a File resource and upload a file
      4. In Course 2:
        • Create a Folder resource and upload two files
      5. Navigate to Reports from user menu
      6. Create new report from Files source
        • Include default setup = Yes
      7. Add the following columns to the report:
        • Context > Context level
        • Context > Parent
      8. Confirm the Parent column shows accurate data:
        • For Context level = System, should be blank
        • For Context level = User, should be System
        • For Context level = Activity module, should be Course: <COURSENAME>
      9. Navigate to Reports from user menu
      10. Create another report from Files source
        • Include default setup = No
      11. Add the following columns to the report:
        • Context > Parent
        • File > Filename
        • File > Size
      12. Set aggregation for Filename column to Count
      13. Set aggregation for Size column to Sum
      14. Add File > Directory condition to report
        • Set to No
      15. Add Context > Context level condition to report
        • Is equal to = Activity module
      16. Apply conditions
      17. Confirm the Course: Course 1 report row shows 3 in the Count column and sum of filesize
      18. Confirm the Course: Course 2 report row shows 2 in the Count column and sum of filesize
      Show
      Log in as admin Create two courses Course 1 Course 2 In Course 1 : Create a Folder resource and upload two files Create a File resource and upload a file In Course 2 : Create a Folder resource and upload two files Navigate to Reports from user menu Create new report from Files source Include default setup = Yes Add the following columns to the report: Context > Context level Context > Parent Confirm the Parent column shows accurate data: For Context level = System, should be blank For Context level = User, should be System For Context level = Activity module, should be Course: <COURSENAME> Navigate to Reports from user menu Create another report from Files source Include default setup = No Add the following columns to the report: Context > Parent File > Filename File > Size Set aggregation for Filename column to Count Set aggregation for Size column to Sum Add File > Directory condition to report Set to No Add Context > Context level condition to report Is equal to = Activity module Apply conditions Confirm the Course: Course 1 report row shows 3 in the Count column and sum of filesize Confirm the Course: Course 2 report row shows 2 in the Count column and sum of filesize

      Once we have MDL-78117 landed, and we have a dedicated entity for context data, we should expand that to allow reporting on:

      • Path (Column/Filter)
      • Parent (Column)

      This will enhance the Files report source, and allow for the creation of reports that can go towards answering the question "How much disk space does my course take up?"

      This appears to be a popular request:

        1. MDL-78741.png
          445 kB
          Ron Carl Alfon Yu

            pholden Paul Holden
            pholden Paul Holden
            Pedro Jordao Pedro Jordao
            David Carrillo David Carrillo
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 hours, 34 minutes
                4h 34m

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