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

Custom user field support: Activity completion report

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.11, 4.0
    • 4.0
    • Activity completion
    • MOODLE_311_STABLE, MOODLE_400_STABLE
    • MOODLE_400_STABLE
    • MDL-71595-master
    • Hide
      1. If you don't have one already, add a custom user field (admin / Users / Accounts / Profile fields) using the 'Text input' type with max length set to a small value e.g. 32.
      2. Select this field as part of user identity (admin / Users / Permissions / User profiles -> Show user identity - select it from the checkboxes).
      3. Edit a test user account profile and give them a value for the custom field.
      4. Create a course (or use an existing course) with completion enabled.
      5. Create an activity in that course with completion turned on (e.g. manual completion).
      6. Enrol the test account in that course.
      7. In the course (in the 'More' menu from the gear dropdown), go to 'Reports / Activity completion'

      EXPECTED: The report should have a column (near the name) for the custom field you created, and on the line for the test account, it shows the value you entered in their profile.

      Show
      If you don't have one already, add a custom user field (admin / Users / Accounts / Profile fields) using the 'Text input' type with max length set to a small value e.g. 32. Select this field as part of user identity (admin / Users / Permissions / User profiles -> Show user identity - select it from the checkboxes). Edit a test user account profile and give them a value for the custom field. Create a course (or use an existing course) with completion enabled. Create an activity in that course with completion turned on (e.g. manual completion). Enrol the test account in that course. In the course (in the 'More' menu from the gear dropdown), go to 'Reports / Activity completion' EXPECTED: The report should have a column (near the name) for the custom field you created, and on the line for the test account, it shows the value you entered in their profile.

    Description

      The activity completion report should support custom user fields.

      Attachments

        Issue Links

          Activity

            People

              quen Sam Marshall
              quen Sam Marshall
              Tim Hunt Tim Hunt
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Gladys Basiana Gladys Basiana
              Amaia Anabitarte, Bas Brands, Carlos Escobedo, Laurent David, Raquel Ortega, Sabina Abellan, Sara Arjona (@sarjona)
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                19/Apr/22

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 35 minutes
                  35m