-
Improvement
-
Resolution: Inactive
-
Minor
-
None
-
2.2
-
Any
-
MOODLE_22_STABLE
Currently rating date restrictions work on the "time created" of the item being rated. For example if you are rating forum posts and you set up a date restriction window you can rate any forum post created during that window. The current time is not considered.
(this isnt real code)
if ($theitem->timecreated > $assesstimestart || $theitem->timecreated < $assesstimefinish) {
|
//allow rating submission
|
}
|
This makes sense if, for example, students are creating items during an assessable period then a teacher is going to come in and rate only the items created during that assessable window.
It would be good to be able set a time window during which ratings could be submitted without consideration of when the item was created.
(this also isnt real code)
if (time() > $assesstimestart || time() < $assesstimefinish) {
|
//allow rating submission
|
}
|
That would allow items to be created then students could come in and submit ratings during a defined peer assessment period.
Ideally we would allow toggling between the two behaviours at a per activity level so that a course could contain both kinds of activities.
- has been marked as being related by
-
MDL-29289 Forum rating restrictions by date breaks ability to rate
-
- Closed
-