Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 1.9.2
-
Fix Version/s: None
-
Component/s: Assignment
-
Labels:None
-
Environment:php 5, mysql 5, apache 2, moodle 1.9.2
-
Database:MySQL
-
Difficulty:Easy
-
Affected Branches:MOODLE_19_STABLE
Description
every teacher (i talked to) that clicks the "XXX submitted assignments" link expect it
to display a table sorted by the timemodified of student's submitted assignment in descending order
so they can immediately see the last submitted assignments and be able to view / grade them.
(without having to click twice on the timemodified sort link at the head of the table)
so i changed line ~1108 on mod/assigment/lib.php to the following:
$table->sortable(true, 'timemodified',SORT_DESC);//sorted by timemodified by default
maybe we can have (add) a configurable setting for this ?
The reporter has a point. I believe moodle should default to the most used sorting.
I have attached a patch for this. The patch is against the current cvs MOODLE_19_WEEKLY. To apply:
cd moodle
patch
p0 < patchMDL-17625.diffp0 < patchMDL-17625.diff