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

Report condition to limit data to selected user

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 4.1
    • 4.0, 4.0.1
    • Report builder
    • MOODLE_400_STABLE
    • MOODLE_401_STABLE
    • Hide

      Setup

      1. Log in as admin
      2. Create two new users (user01, user02)
      3. Create two new cohorts (cohort01, cohort02)
      4. Add user01 to cohort01
      5. Add user02 to cohort02

      Create report

      1. Navigate to Reports > Report builder > Custom reports in site administration
      2. Create a new report from Cohorts report source
        • Ensure Include default setup is checked
      3. On report editor, add the User > Full name column
      4. Open Conditions editor
      5. Add the User > Select user condition
        • Set the condition values to Select: <name of user01>
        • Press Apply
      6. Confirm report only lists <user01>
      7. Confirm that changing the selected user in the condition affects the report appropriately
      Show
      Setup Log in as admin Create two new users (user01, user02) Create two new cohorts (cohort01, cohort02) Add user01 to cohort01 Add user02 to cohort02 Create report Navigate to Reports > Report builder > Custom reports in site administration Create a new report from Cohorts report source Ensure Include default setup is checked On report editor, add the User > Full name column Open Conditions editor Add the User > Select user condition Set the condition values to Select: <name of user01> Press Apply Confirm report only lists <user01> Confirm that changing the selected user in the condition affects the report appropriately

      This is a follow on from MDL-73069, where a report condition can be added to report only on the current user

      This issue intends to extend that class and also allow for a specific user to be selected to report on

            pholden Paul Holden
            pholden Paul Holden
            David Carrillo David Carrillo
            Shamim Rezaie Shamim Rezaie
            Gladys Basiana Gladys Basiana
            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 - 1 hour, 35 minutes
                1h 35m

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