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

[Patch] Sort courses on profile

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9.3, 1.9.4, 1.9.5, 1.9.6
    • Fix Version/s: 1.9.6
    • Component/s: Other, Usability
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      still working on a project at Federal University of Santa Catarina, in Brasil. Some users reported that the course list on profiles isn't on the same order of my moodle.
      The attached patch correct this, passing 'visible DESC, sortorder ASC' to $sort param instead of null. Maybe the function should be corrected to handle null differently from an empty string, but i don't have much time to test it now.

        Attachments

          Activity

            People

            Assignee:
            dougiamas Martin Dougiamas
            Reporter:
            danielneis Daniel Neis Araujo
            Tester:
            Helen Foster
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Barbara Ramiro, Bas Brands
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              21/Oct/09