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

Report condition to select category (with sub-categories)

XMLWordPrintable

    • MOODLE_401_STABLE
    • MOODLE_401_STABLE
    • Hide
      1. Log in as admin
      2. Navigate to Courses > Manage courses and categories in site administration
      3. Create the following Course categories structure:

        Category 1
          |- Category 2 (_Child of Category 1_)
             |- Category 3 (_Child of Category 2_)
        

      4. Create one course in each category
      5. Navigate to Reports in user menu
      6. Create new report from Courses report source
      7. Open Conditions in report editor
      8. Confirm Select category condition is present
      9. Confirm it's value is No selection
      10. Select Category 2
      11. Press Apply
      12. Confirm only Category 2 is shown in report
      13. Modify condition to enable View all subcategories
      14. Press Apply
      15. Confirm both Category 2 and Category 3 are shown in report
      16. Add Category name condition to report
      17. Set Course category > Category name to Contains: 2
      18. Press Apply
      19. Confirm only Category 2 is shown in report
      Show
      Log in as admin Navigate to Courses > Manage courses and categories in site administration Create the following Course categories structure: Category 1 |- Category 2 (_Child of Category 1_) |- Category 3 (_Child of Category 2_) Create one course in each category Navigate to Reports in user menu Create new report from Courses report source Open Conditions in report editor Confirm Select category condition is present Confirm it's value is No selection Select Category 2 Press Apply Confirm only Category 2 is shown in report Modify condition to enable View all subcategories Press Apply Confirm both Category 2 and Category 3 are shown in report Add Category name condition to report Set Course category > Category name to Contains: 2 Press Apply Confirm only Category 2 is shown in report

      This was requested by a Workplace partner (WP-3395), courtesy of chris.pratt

      Create a course category condition/filter for selecting a specific category, with the option of include it's sub-categories

      Note we have similar conditions in other entities (User > Select user; Course > Select course)

        1. 12_MDL-74777_master.png
          12_MDL-74777_master.png
          89 kB
        2. 15_MDL-74777_master.png
          15_MDL-74777_master.png
          108 kB
        3. 19_MDL-74777_master.png
          19_MDL-74777_master.png
          120 kB
        4. 8&9_MDL-74777_master.png
          8&9_MDL-74777_master.png
          110 kB

            pholden Paul Holden
            pholden Paul Holden
            Carlos Castillo Carlos Castillo
            Jake Dallimore Jake Dallimore
            John Edward Pedregosa John Edward Pedregosa
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 hours, 40 minutes
                3h 40m

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