Moodle

Course ID Number (numerical order?)

Details

  • Type: Improvement Improvement
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 1.9
  • Fix Version/s: None
  • Component/s: Course
  • 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)

Issue Links

Activity

Hide
Eloy Lafuente (stronk7) added a comment -

Uhm.... some thoughts:

a) I think we could have some sort of courses within the category by:

  • 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

Show
Eloy Lafuente (stronk7) added a comment - Uhm.... some thoughts: a) I think we could have some sort of courses within the category by:
  • 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
Hide
Eloy Lafuente (stronk7) added a comment -

Linked with MDL-14580 that defines one REAL (out of numbers) problem (the compactor seems really necessary).

Ciao

Show
Eloy Lafuente (stronk7) added a comment - Linked with MDL-14580 that defines one REAL (out of numbers) problem (the compactor seems really necessary). Ciao
Hide
Lee Stanley added a comment -

Thank you :o)

Show
Lee Stanley added a comment - Thank you :o)
Hide
Eloy Lafuente (stronk7) added a comment -

Raising this to Major, because the sortorder tuning and compactor seems to be needed features ASAP. Requesting Martin Dougiamas comments about the best way to "fix" this.

Ciao

Show
Eloy Lafuente (stronk7) added a comment - Raising this to Major, because the sortorder tuning and compactor seems to be needed features ASAP. Requesting Martin Dougiamas comments about the best way to "fix" this. Ciao
Hide
Rosario Carcò added a comment -

Since we passed 1'500 Courses (actually > 3'800 and > 1'000 categories) we ran into overflows each time we add a course and I have to manually adjust the overflowed values with the procedures described in Post http://moodle.org/mod/forum/discuss.php?d=126896

I (and many others) would be happy if you could correct as mentioned above d1) and d2) which can be done without major works on the GUI, simply to avoid overflows. Thanks a lot.

Show
Rosario Carcò added a comment - Since we passed 1'500 Courses (actually > 3'800 and > 1'000 categories) we ran into overflows each time we add a course and I have to manually adjust the overflowed values with the procedures described in Post http://moodle.org/mod/forum/discuss.php?d=126896 I (and many others) would be happy if you could correct as mentioned above d1) and d2) which can be done without major works on the GUI, simply to avoid overflows. Thanks a lot.

People

Vote (13)
Watch (12)

Dates

  • Created:
    Updated: