Issue Details (XML | Word | Printable)

Key: MDL-7163
Type: Improvement Improvement
Status: Open Open
Priority: Minor Minor
Assignee: Martin Dougiamas
Reporter: Anthony Borrow
Votes: 26
Watchers: 10
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

Allow sorting of people in course by lastname, firstname, and username when assigning groups

Created: 22/Oct/06 10:45 PM   Updated: 21/Oct/09 04:17 PM
Return to search
Component/s: Course
Affects Version/s: 1.6.3, 1.9.5
Fix Version/s: 1.9.7

File Attachments: 1. Text File MDL-7163.patch (2 kB)
2. Text File MDL-7163.patch (2 kB)
3. Text File MDL-7163.patch (1 kB)
4. Text File MDL-7163.patch (1 kB)

Environment: n/a

URL: /course/groups.php
Participants: A. T. Wyatt, Anthony Borrow, Brian Pool, Kenneth Newquist, Martin Dougiamas, Matt Tate, Ray Lawrence and Wen Hao Chuang
Security Level: None
Affected Branches: MOODLE_16_STABLE, MOODLE_19_STABLE
Fixed Branches: MOODLE_19_STABLE


 Description  « Hide
Currently sorting of students (people in course) is by fullname which I find somewhat awkward as most users prefer to see firstname + lastname; however, most lists from the school (such as school rosters) are sorted by lastname. While it makes sense to me to sort by lastname, I think ideally it is best to give the users (i.e. teachers) the option to sort either by lastname, firstname, or username. This could be implemented either at the site or course level (my preference would be the course level so that each teacher can control how the names are sorted; however, AT Wyatt suggested the site level. As I envision it, the field could be added in with the group mode dropdown boxes in /course/edit.php as group members sorted by: with options of - Firstname, Lastname, Username.

I am requesting this because adding group members to the sections was a tedious process for me and my teachers because the list we had been given from the school was the student's official firstname; however, when I had pulled in the enrollment data I used the student's preferred name which means that what was on the teacher's roster as William Jones was in the group listing of people in course as Billy Jones. It was difficult to find Jones and required visually scanning the whole list. Hence, it would have been really helpful to be able to sort by lastname.

Thanks for your consideration of this improvement and let me know if there is anything I can do to support its introduction into Moodle.

Peace - Anthony

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Anthony Borrow made changes - 17/Oct/09 09:43 AM
Field Original Value New Value
Affects Version/s 1.9.5 [ 10320 ]
Affects Version/s 1.8.9 [ 10322 ]
Anthony Borrow made changes - 17/Oct/09 11:21 AM
Attachment MDL-7163.patch [ 18640 ]
Martin Dougiamas made changes - 19/Oct/09 02:41 PM
Affects Version/s 1.9.6 [ 10340 ]
Affects Version/s 1.9.5 [ 10320 ]
Affects Version/s 1.8.9 [ 10322 ]
Martin Dougiamas made changes - 19/Oct/09 02:41 PM
Fix Version/s 1.9.6 [ 10340 ]
Affects Version/s 1.9.5 [ 10320 ]
Affects Version/s 1.9.6 [ 10340 ]
Anthony Borrow made changes - 19/Oct/09 03:10 PM
Attachment MDL-7163.patch [ 18647 ]
Anthony Borrow made changes - 19/Oct/09 03:33 PM
Attachment MDL-7163.patch [ 18648 ]
Anthony Borrow made changes - 19/Oct/09 10:56 PM
Attachment MDL-7163.patch [ 18660 ]
Martin Dougiamas made changes - 21/Oct/09 04:17 PM
Fix Version/s 1.9.7 [ 10360 ]
Fix Version/s 1.9.6 [ 10340 ]