Moodle
  1. Moodle
  2. MDL-2282

Sort activity titles by lenght in the activity name filter...

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.4.2
    • Fix Version/s: None
    • Component/s: General
    • Labels:
      None
    • Environment:
      All
    • Affected Branches:
      MOODLE_14_STABLE
    • Rank:
      10532

      Description

      to avoid shorter names being linked first!

        Activity

        Hide
        Martin Dougiamas added a comment -

        From Eloy Lafuente (stronk7 at moodle.org) Sunday, 12 December 2004, 09:00 PM:

        I get it!

        From Eloy Lafuente (stronk7 at moodle.org) Monday, 13 December 2004, 09:26 AM:

        Done, using the usort(array,sortfunction) function.

        It's really a nice function!!! Sure we can use it in other places!

        Show
        Martin Dougiamas added a comment - From Eloy Lafuente (stronk7 at moodle.org) Sunday, 12 December 2004, 09:00 PM: I get it! From Eloy Lafuente (stronk7 at moodle.org) Monday, 13 December 2004, 09:26 AM: Done, using the usort(array,sortfunction) function. It's really a nice function!!! Sure we can use it in other places!
        Hide
        Michael Blake added a comment -

        assign to a valid user

        Show
        Michael Blake added a comment - assign to a valid user

          People

          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: