Issue Details (XML | Word | Printable)

Key: MDL-12987
Type: New Feature New Feature
Status: Open Open
Priority: Minor Minor
Assignee: Martin Dougiamas
Reporter: Tom Murdock
Votes: 1
Watchers: 1
Operations

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

Sort by category button?

Created: 14/Jan/08 10:53 PM   Updated: 20/Feb/09 05:43 PM
Component/s: Administration, Course
Affects Version/s: 1.9
Fix Version/s: None

File Attachments: 1. Text File category_diff_patch_192.txt (3 kB)
2. Text File category_diff_patch_v194.txt (2 kB)


Participants: Martin Dougiamas, mert gokkaya, Tom Murdock and Yolanda Ordoñez Rufat
Security Level: None
Affected Branches: MOODLE_19_STABLE


 Description  « Hide
Schools with multiple categories would find a quick sort of categories helpful, when adding them to the list.

Thanks,
Tom



 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
mert gokkaya added a comment - 25/Nov/08 01:53 AM
We are planning to adjust the drop down show only the visible categories. since we have 4 quarters in a year, we need to be able to classify every quarter's categories differently. Somewhere around second quarter, list gets long and starts confusing teachers.

Yolanda Ordoñez Rufat added a comment - 13/Feb/09 08:28 PM
We do add this feature to our moodle.
I've attached two patch files for the versions we have tested (1.9.2 and 1.9.4)

You only need to modified the /moodle/course/category.php and, of course, add the string ($string['resortcategoriesbyname'] = 'Re-sort categories by name' to the moodle.php lang file.
We put our institution strings in the moodledata/lang/en_utf8_local/ directory so it doesn't interfere with the language pack updates.

Hope this will help.


Yolanda Ordoñez Rufat added a comment - 20/Feb/09 05:43 PM
As you can see from MDL-14580 the course sorting algorithms are been rewritten for v 2.0.
So some work is needed here to addjust the patch. We plan to do so after the MDL-15265 (Backport course sortorder rewrite to 1.9.x) is fixed.