Moodle

Grade display settings for course level

Details

  • Type: Sub-task Sub-task
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.9
  • Fix Version/s: 1.9
  • Component/s: Gradebook
  • Labels:
    None
  • Affected Branches:
    MOODLE_19_STABLE
  • Fixed Branches:
    MOODLE_19_STABLE

Description

I see the grade_report_gradedisplaytype at site level, and there is a grade display setting for each grade_item, but where is the course level setting? Was there one?

Activity

Hide
Petr Škoda (skodak) added a comment -

the setting is stored in course grade_item - you can edit it there

any better place in UI?

Show
Petr Škoda (skodak) added a comment - the setting is stored in course grade_item - you can edit it there any better place in UI?
Hide
Martin Dougiamas added a comment -

Ah, great.

It definitely needs to be explained better in the help that the display type AND decimals work in this hierarchical way from site -> course category -> sub categories -> grade_items

I suppose we COULD add a new edit pane for Grade Display and put these there but let's see if users want that first.

Show
Martin Dougiamas added a comment - Ah, great. It definitely needs to be explained better in the help that the display type AND decimals work in this hierarchical way from site -> course category -> sub categories -> grade_items I suppose we COULD add a new edit pane for Grade Display and put these there but let's see if users want that first.
Hide
Philip Butcher added a comment -

FYI I had to ask Tim for help in finding this setting, which I think tells you that it needs to be moved from where it is.

In Categories and items I had expected to find it under the Course entry (at the top of Categories and items). I did not think to look under Course total (at the bottom) until Tim came by.

Show
Philip Butcher added a comment - FYI I had to ask Tim for help in finding this setting, which I think tells you that it needs to be moved from where it is. In Categories and items I had expected to find it under the Course entry (at the top of Categories and items). I did not think to look under Course total (at the bottom) until Tim came by.
Hide
Martin Dougiamas added a comment - - edited

We've just been talking about this.

Petr's making a new page in the view menu, under "Edit", called "Course settings" where these things can be set for the course (and stored in the grade_preferences) table:

  • display type __________ site < course < item
  • decimals ____________ site < course < item
  • aggregation position ____ site < course < user pref

The "Preferences" tab is going to be renamed as "My report preferences" to make it crystal clear.

Show
Martin Dougiamas added a comment - - edited We've just been talking about this. Petr's making a new page in the view menu, under "Edit", called "Course settings" where these things can be set for the course (and stored in the grade_preferences) table:
  • display type __________ site < course < item
  • decimals ____________ site < course < item
  • aggregation position ____ site < course < user pref
The "Preferences" tab is going to be renamed as "My report preferences" to make it crystal clear.
Hide
Martin Dougiamas added a comment -

Also, the aggregation position options will be first and last (not left and right).

Show
Martin Dougiamas added a comment - Also, the aggregation position options will be first and last (not left and right).
Hide
Petr Škoda (skodak) added a comment -
  • renamed Preferences to "My report preferences"
  • renamed Site defaults to "Report defaults"
  • rename Change site defaults to "Change report defaults"
  • reintroduced Inherit option to Grader preferences - Nicolas was right, it is not possible to implement preference overrides without it with our current get_pref inplementation
  • new separate option in plugin selector "Course settings"
  • moved displaytype, decimals and aggregation position to "Course settings"
  • created new table grade_settings + related functions grade_get/set_preference()
  • user report now uses grade_seq class instead of grade_item::fetch_all(); added preloading of grade items into grade_grade instances
  • other minor bugfixing/cleanup/improvements
  • aggregation position now first/last

Please note that the Grader report preferences and its defaults must be resaved again - sorry.

Show
Petr Škoda (skodak) added a comment -
  • renamed Preferences to "My report preferences"
  • renamed Site defaults to "Report defaults"
  • rename Change site defaults to "Change report defaults"
  • reintroduced Inherit option to Grader preferences - Nicolas was right, it is not possible to implement preference overrides without it with our current get_pref inplementation
  • new separate option in plugin selector "Course settings"
  • moved displaytype, decimals and aggregation position to "Course settings"
  • created new table grade_settings + related functions grade_get/set_preference()
  • user report now uses grade_seq class instead of grade_item::fetch_all(); added preloading of grade items into grade_grade instances
  • other minor bugfixing/cleanup/improvements
  • aggregation position now first/last
Please note that the Grader report preferences and its defaults must be resaved again - sorry.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: