Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-21011

"Re-sort courses by name" button doesn't always work

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 1.9.6
    • Fix Version/s: STABLE backlog
    • Component/s: Administration
    • Environment:
      First noticed in Moodle v1.8, currently in v1.9.6. (Linux, Apache, mySQL)
    • Affected Branches:
      MOODLE_19_STABLE

      Description

      In Site Administration > Courses > Add/edit courses > (any category)

      The "Re-sort courses by name" button doesn't work in all categories. And when it doesn't work, I can't even sort the courses manually by using the up/down arrow icons.

      Relevant tidbits from forum discussion at http://moodle.org/mod/forum/discuss.php?d=93618 :


      We've upgraded to v1.9.2 and the "Re-sort courses by name" button still doesn't work.

      • Only one of our instances is affected. Unfortunately, it's on our biggest production instance.
      • No error message, not even in php.log
      • It works only in categories where the course names are mostly-alphabetical
      • It fails in categories where the course names are in this format: "ENGL 1100: English Literature 1 (S10)". Are the digits or punctuation characters breaking the sort code?

      May be related to MDL-14580

        Gliffy Diagrams

          Attachments

          1. 20100822coursesort.patch
            2 kB
          2. 20100824coursesort.patch
            2 kB
          3. AttachementPostMatthias.txt
            4 kB
          4. category.patch
            1 kB
          5. category.patch
            1 kB
          6. datalib.patch
            0.7 kB
          7. screenshot-1.jpg
            screenshot-1.jpg
            183 kB
          8. upgrade.patch.txt
            2 kB

            Issue Links

              Activity

                People

                • Votes:
                  21 Vote for this issue
                  Watchers:
                  23 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: