Journals - Ability to Alphabetically Organize of Student Entries

Re: Journals - Ability to Alphabetically Organize of Student Entries

by AL Rachels -
Number of replies: 0
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

Ooops! My wife was after me to go do something, and I forgot to include one other change that alphabetizes the users who have NOT made an entry.

Do the change listed above. Then, in the file report.php down around line 158, look for this line of code: $users = get_users_by_capability($context, 'mod/journal:addentries', '', '', '', '', $groups);

Change it to this: $users = get_users_by_capability($context, 'mod/journal:addentries', '', $sort='lastname ASC, firstname ASC', '', '', $groups);

Sorry for not catching the omission while making the first post.