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

idnumber in mdl_course_categories

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.2
    • 1.9.5, 1.9.6, 2.0
    • Course
    • None
    • MOODLE_19_STABLE, MOODLE_20_STABLE
    • MOODLE_22_STABLE
    • Hide

      Choose
      'Site administration'
      -> 'Courses'
      -> 'Add/edit courses'

      Select the 'Edit this category' link for any of the listed categories (e.g. Miscellaneous)

      • A Category ID number field is now available, complete with appropriate tooltip help.
      • The field now also exists in the database in the course_categories table.
      • Try both adding one idnumber and later modifying it. The idnumber is properly stored and viewed on re-edition.
      • Edit another category and try to insert one already used idnumber, message about id number already taken should be shown and prevent the offending idenumber to be saved.
      • Edit another category already having one valid idnumber and try to modify it to one already used idnumber, message about id - number already taken should be shown and prevent the offending idenumber to be saved.
      Show
      Choose 'Site administration' -> 'Courses' -> 'Add/edit courses' Select the 'Edit this category' link for any of the listed categories (e.g. Miscellaneous) A Category ID number field is now available, complete with appropriate tooltip help. The field now also exists in the database in the course_categories table. Try both adding one idnumber and later modifying it. The idnumber is properly stored and viewed on re-edition. Edit another category and try to insert one already used idnumber, message about id number already taken should be shown and prevent the offending idenumber to be saved. Edit another category already having one valid idnumber and try to modify it to one already used idnumber, message about id - number already taken should be shown and prevent the offending idenumber to be saved.

      Hi,

      Could an idnumber be added to the mdl_course_categories table? We, as a college, map our college structures to moodle as follows.

      faculty ----------------------- category level 1

      -> program------------- category level 2
      ----> subject -------- course

      We have a script system which matches subjectcode to mdl_course.idnumber. However, we have to use the name field in the program which is not at all ideal. There is a program code which we'd like to store in mdl_course_categories.idnumber.

      Could this be done, it seems a very simple change?

      Thanks.
      Gavin

            dobedobedoh Andrew Lyons
            gavinmc Gavin Mccullagh (Inactive)
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Sam Hemelryk Sam Hemelryk
            Votes:
            4 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.