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

[PATCH] Ability to select the user profile fields to include in gradebook exports

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9.4, 2.0
    • Fix Version/s: None
    • Component/s: Gradebook
    • Labels:
      None
    • Database:
      Any
    • Affected Branches:
      MOODLE_19_STABLE, MOODLE_20_STABLE
    • Difficulty:
      Moderate

      Description

      This commit introduces two new settings in the admin page:

      • 'exportuserfields' for built-in user profile fields
      • 'exportcustomfields' for custom fields

      Both of these settings are string lists (comma-delimited) with the shortnames
      of the fields that be included in the columns of grade exports.

      This feature allows admins to hide fields they don't need (for example the
      institution field in a one-school site) or add extra custom fields they are
      interested in.

      (the attached patch is against 1.9.3+)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              moodle.com moodle.com
              Reporter:
              francois Francois Marier
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              4 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: