Issue Details (XML | Word | Printable)

Key: MDL-14228
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Petr Skoda
Reporter: Ray Lawrence
Votes: 0
Watchers: 0
Operations

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

Auto-create groups - Alphabetically by id number sortng does not apear to be working

Created: 06/Apr/08 02:30 AM   Updated: 07/Apr/08 05:01 PM
Return to search
Component/s: Groups
Affects Version/s: 1.9
Fix Version/s: None

Environment: any

Database: MySQL
Participants: Eloy Lafuente (stronk7), Petr Skoda and Ray Lawrence
Security Level: None
Affected Branches: MOODLE_19_STABLE


 Description  « Hide
Have reviewed using ID of user in database and ID field in profile. Allocation doesn't seem to fit the description "alphabetically by id number".

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Eloy Lafuente (stronk7) added a comment - 07/Apr/08 06:45 AM
Hi Ray,

if I'm not wrong that isn't the user->id but the user->idnumber column (viewed as "ID number" in the profile page). Do you have information in that "ID number" field in order to be able to allow the process to effectively order by it?)

I've performed a quick look to code (not tested) and looks ok.

Ciao


Ray Lawrence added a comment - 07/Apr/08 05:01 PM
Hi Eloy,

Yes, I tested using that field too but the ordering in the auto-create preview didn't seem to take it into account. In fact I couldn't see any obvious logic as to how users had been sorted in to groups.