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

Add suspended user into the activity completion report

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Reopened
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: Future Dev
    • Fix Version/s: None
    • Component/s: Reports
    • Testing Instructions:
      Hide
      1. Create 1 course and 3 users.
      2.  Enroll the 3 users into the course using manual enrollment.
      3. Create a new cohort, add 1 student to the cohort.
      4. Add cohort sync for the course for that cohort
      5. Suspend 1 manually enrolled user, as well as the manual enrollment of the student with two enrollment methods.
      6. Set up an course completion condition (/course/completion.php?id=)
      7. Go to COURSES > report > Course completion (report/completion/index.php?course=)
      8. The suspended users should appear if you change the value of the report_completion | onlyactiveuser (/admin/settings.php?section=report_completion_settings)
      Show
      Create 1 course and 3 users.  Enroll the 3 users into the course using manual enrollment. Create a new cohort, add 1 student to the cohort. Add cohort sync for the course for that cohort Suspend 1 manually enrolled user, as well as the manual enrollment of the student with two enrollment methods. Set up an course completion condition (/course/completion.php?id=) Go to COURSES > report > Course completion (report/completion/index.php?course=) The suspended users should appear if you change the value of the report_completion | onlyactiveuser (/admin/settings.php?section=report_completion_settings)
    • Pull from Repository:
    • Pull Master Branch:
      MDL-63164-master

      Description

      Hello I would like to see the suspended user into the course completion report.
      I try to change the to set the parameter grade_report_showonlyactiveenrol to false but the suspended user didn't show up...
      So I investigate into the source code and add a parameter "moodlecourse|report_completion_onlyactiveuser" to allow the user to show the suspended user into this kind of report.
      The code is available here: https://github.com/olive007/moodle/tree/MDL-63164-master

       

        Attachments

          Activity

            People

            • Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated: