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

Custom field Select type messes values if list order changed

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 4.0.4, 4.1, 4.2.5, 4.3
    • Course
    • MOODLE_400_STABLE, MOODLE_401_STABLE, MOODLE_402_STABLE, MOODLE_403_STABLE
    • MOODLE_main_MDL-75809
    • Hide
      1. Create a "Select" course custom field with three values:
        1. Apples
        2. Bananas
        3. Melons
      2. Create a course and choose "Bananas" as the value for the custom field
      3. Edit the custom field and add "Avocados" after "Apples", before "Bananas"
      4. Go back to course configuration
      5. Make sure "Bananas" are selected and not "Avocados"
      Show
      Create a "Select" course custom field with three values: Apples Bananas Melons Create a course and choose "Bananas" as the value for the custom field Edit the custom field and add "Avocados" after "Apples", before "Bananas" Go back to course configuration Make sure "Bananas" are selected and not "Avocados"

      Currently the custom field "Select" stores the position of the option in the list of options.
      It has several disadvantages like messing the information if any option is addes on the beginning of in any place that is not the end of the list.

      Just like the custom profile field, this changes to store the actual "display" value of the option.

      By the way, I noticed we have no "Custom fields" components, so I chose UX.

            Unassigned Unassigned
            danielneis Daniel Neis Araujo
            Shamim Rezaie Shamim Rezaie
            Votes:
            9 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 6 hours
                6h

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