Issue Details (XML | Word | Printable)

Key: MDL-11278
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Nicolas Connault
Reporter: Martin Dougiamas
Votes: 0
Watchers: 2
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

Create some site-wide gradbook settings to force certain behaviour in grade categories

Created: 14/Sep/07 03:36 PM   Updated: 20/Oct/07 11:12 PM
Return to search
Component/s: Gradebook
Affects Version/s: 1.9
Fix Version/s: 1.9

Participants: Martin Dougiamas, Nicolas Connault and Petr Skoda
Security Level: None
Resolved date: 20/Oct/07
Affected Branches: MOODLE_19_STABLE
Fixed Branches: MOODLE_19_STABLE


 Description  « Hide
Grade categories have a number of settings to "Aggregate only non-empty grades" and so on.

The problem is that some sites want settings always to be a certain way and would have to manually edit each category (could be thousands) to get what they want.

The solution is to add more options to a new grade category settings page to force certain settings: admin/settings.php?section=gradecategorysettings.

By default none of these are set. If they are set, then

 - those specific form controls on the category editing pages should be disabled,
 - any editing of that form should force those vales into the grade_category table (for completeness), and:
 - any code that depends on those values should check for and use the sitewide value instead of the actual value


Grade category settings -------------------------------------------------

Aggregation: [Menu of options here, including "Don't force" as default]
Aggregate only non-empty grades: [Force: On / Force: Off / Don't force]
Include outcomes in aggregation: [Force: On / Force: Off / Don't force]
Aggregate including subcategories: [Force: On / Force: Off / Don't force]
Keep the highest: [Menu of numbers, and Don't Force]
Drop the lowest: [Menu of numbers, and Don't Force]



 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Nicolas Connault added a comment - 15/Sep/07 01:22 AM
All done, except that changing global settings doesn't update grade_categories records.

Petr Skoda added a comment - 19/Oct/07 05:35 PM
reopening:
1/ if you change the setting the grades are not recalculated in all courses
2/ the category edit form should IMHO use hardFreeze() - we do it everywhere else

Petr Skoda added a comment - 20/Oct/07 11:12 PM
done, reclosing...