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

Weight doesn't disply decimals when editing a category in gradebook

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.9.5
    • Fix Version/s: 1.9.6
    • Component/s: Gradebook
    • Labels:
      None
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      When editing a category within gradebook the weight field doesn't display any decimal places.
      It still saves any decimals you enter, if you switch to `full view` then you can see the full value (decimal places and all) that you entered. It simply does not display then on the edit screen.
      I have attached a patch for category_form.php that I believe solves the problem however I wasn't able to produce the weight checkbox to ensure that this patch solved the bug nicely/entirely.

        Attachments

          Activity

            People

            • Assignee:
              skodak Petr Skoda
              Reporter:
              samhemelryk Sam Hemelryk
              Participants:
              Component watchers:
              Jake Dallimore, Jun Pataleta
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

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