Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 1.9
-
Fix Version/s: None
-
Component/s: Course
-
Labels:
-
Environment:n/a
-
Affected Branches:MOODLE_19_STABLE
Description
Just wondering really as i have been looking and haven't found an answer.
When you enter a Course ID does Moodle organise the courses in each category by numerical order of the course ID??
If so, can there be an option in which you can select whether it does numerical order from 1-10 or 10-1.
As the course references i use go backwards starting at 9999 finishing at 0000. And once I've added a new course it will appear at the top of the list of courses in that category when it belongs at the bottom of the list. Therefore i have to keep pressing the move down arrow, which is getting tedious! :o)
If anyone can give me any tips or a promise for it being in a future release it would be much appreciated!
Many Thanks
Lee
P.s. if you would like to look at my Moodle and see what i mean please feel free to contact me! (lstanley@equiinet.com)
Uhm.... some thoughts:
a) I think we could have some sort of courses within the category by:
b) Also, perhaps... we could implement some sort of: first and last icons to move courses directly there. Not sure if it will embarrass the page or no, FYC.
c) And, of course, this page is a clear candidate to be AJAX-ized and provide courses drag and drop.
d) Finally, and no less important... looking at code... it seems that the fix_course_sortorder() moves sortorder to +1000 each time some movement is performed. I guess this can cause out of maxint in some sites with a lot of movements. Perhaps we should also:
d1) Tune a bit the code to prevent that contant +1000 always happening, doing it only when necessary.
d2) Perform some sort of "compactor" from time to time (cron) to keep those numbers as low as possible.
Adding Martin here and assigning to Nicolas...ciao
- name (currently implemented)
- shortname
- idnumber
b) Also, perhaps... we could implement some sort of: first and last icons to move courses directly there. Not sure if it will embarrass the page or no, FYC. c) And, of course, this page is a clear candidate to be AJAX-ized and provide courses drag and drop. d) Finally, and no less important... looking at code... it seems that the fix_course_sortorder() moves sortorder to +1000 each time some movement is performed. I guess this can cause out of maxint in some sites with a lot of movements. Perhaps we should also: d1) Tune a bit the code to prevent that contant +1000 always happening, doing it only when necessary. d2) Perform some sort of "compactor" from time to time (cron) to keep those numbers as low as possible. Adding Martin here and assigning to Nicolas...ciao