Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.9
    • Fix Version/s: None
    • Component/s: Administration, Course
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Rank:
      4063

      Description

      Schools with multiple categories would find a quick sort of categories helpful, when adding them to the list.

      Thanks,
      Tom

      1. category_diff_patch_192.txt
        3 kB
        Yolanda Ordoñez Rufat
      2. category_diff_patch_v194.txt
        2 kB
        Yolanda Ordoñez Rufat

        Issue Links

          Activity

          Hide
          mert gokkaya added a comment -

          We are planning to adjust the drop down show only the visible categories. since we have 4 quarters in a year, we need to be able to classify every quarter's categories differently. Somewhere around second quarter, list gets long and starts confusing teachers.

          Show
          mert gokkaya added a comment - We are planning to adjust the drop down show only the visible categories. since we have 4 quarters in a year, we need to be able to classify every quarter's categories differently. Somewhere around second quarter, list gets long and starts confusing teachers.
          Hide
          Yolanda Ordoñez Rufat added a comment -

          We do add this feature to our moodle.
          I've attached two patch files for the versions we have tested (1.9.2 and 1.9.4)

          You only need to modified the /moodle/course/category.php and, of course, add the string ($string['resortcategoriesbyname'] = 'Re-sort categories by name' to the moodle.php lang file.
          We put our institution strings in the moodledata/lang/en_utf8_local/ directory so it doesn't interfere with the language pack updates.

          Hope this will help.

          Show
          Yolanda Ordoñez Rufat added a comment - We do add this feature to our moodle. I've attached two patch files for the versions we have tested (1.9.2 and 1.9.4) You only need to modified the /moodle/course/category.php and, of course, add the string ($string ['resortcategoriesbyname'] = 'Re-sort categories by name' to the moodle.php lang file. We put our institution strings in the moodledata/lang/en_utf8_local/ directory so it doesn't interfere with the language pack updates. Hope this will help.
          Hide
          Yolanda Ordoñez Rufat added a comment -

          As you can see from MDL-14580 the course sorting algorithms are been rewritten for v 2.0.
          So some work is needed here to addjust the patch. We plan to do so after the MDL-15265 (Backport course sortorder rewrite to 1.9.x) is fixed.

          Show
          Yolanda Ordoñez Rufat added a comment - As you can see from MDL-14580 the course sorting algorithms are been rewritten for v 2.0. So some work is needed here to addjust the patch. We plan to do so after the MDL-15265 (Backport course sortorder rewrite to 1.9.x) is fixed.
          Hide
          Konrad Lorinczi added a comment -

          Could you post a diff to latest Moodle v1.9.13 ?
          Or posting the modified category.php would be also helpful (I can compare then).

          Thanks!

          Show
          Konrad Lorinczi added a comment - Could you post a diff to latest Moodle v1.9.13 ? Or posting the modified category.php would be also helpful (I can compare then). Thanks!

            People

            • Votes:
              6 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: