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

User details header formatted incorrectly in 'Enrolled users' table

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Test pre-requisites

      1. Login as admin
      2. Access to Site administration | Language | Language customisation | English (en)
      3. Search in core -> moodle.php for the identifier fullnamedisplay and change its value from
        {$a->firstname} {$a->lastname} 

      to

      {$a->lastname}, {$a->firstname}

       

      Test steps

      1. Access as teacher to a course
      2. Go to Participants
      3. Access to Enrolled users (using the cog drop down menu)
        • CHECK the header of the first column looks like this:
      Surname / First name / Email address
      Show
      Test pre-requisites Login as admin Access to Site administration | Language | Language customisation | English (en) Search in core -> moodle.php for the identifier  fullnamedisplay  and change its value from {$a->firstname} {$a->lastname}  to {$a->lastname}, {$a->firstname}   Test steps Access as teacher to a course Go to Participants Access to Enrolled users (using the cog drop down menu) CHECK the header of the first column looks like this: Surname / First name / Email address
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_33_STABLE
    • Fixed Branches:
      MOODLE_33_STABLE
    • Pull from Repository:

      Description

      Go to:

      1. Site administration
      2. Language
      3. Language customisation
      4. English (en)
        Search in core -> moodle.php for the identifier fullnamedisplay and change its value from

        {$a->firstname} {$a->lastname}
        

        to

        {$a->lastname}, {$a->firstname}
        

      Now go to:

      1. [a course in which you are the manager]
      2. Participants
      3. [dropdown menu with cogwheel symbol in the top right]
      4. Enrolled users

      The header of the first column now looks like this:

      [[lastname,]] / First name / Email address
      

      But it should look like this:

      Surname / First name / Email address
      

        Attachments

        1. custom_fullnamedisplay.png
          2 kB
          do-you-even-curl
        2. default_fullnamedisplay.png
          2 kB
          do-you-even-curl
        3. MDL-60776.xlsx
          2.22 MB
          Janelle Barcega

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                19/Mar/18