Resolution: Won't Fix
Affects Version/s: 1.9.3
Fix Version/s: None
we have 408 course categories in Moodle just now. This is arranged in a hierarchy of 20 "faculty" categories with "course" categories underneath each. The course category page at:
is now 25MB of HTML with editing turned on. This is way too slow to load and very slow to use. The reason is that for each category (N), an option list is created of (N) categories. So you have N^2 options on the page.
numoptions(numcat) = (numcat)^2
We have 408 categories.
408*408 = 166464
gavinmc@ceartgoleor:~$ grep -i '<option' /tmp/index.php | wc -l
This would scale linearly instead of as a square of the number of categories.
What do people think of this solution? My time is a little short but if need be I can try and find time to work out a patch for this. If you guys would rather implement it that's fine too.