-
Bug
-
Resolution: Fixed
-
Minor
-
2.7.15, 2.8.12, 2.9.7, 3.0.5, 3.1, 3.4
-
MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE, MOODLE_30_STABLE, MOODLE_31_STABLE, MOODLE_34_STABLE
-
MOODLE_33_STABLE, MOODLE_34_STABLE
-
MDL-55382-master -
Lecturers at my institution have asked if the Quicklist comments for marking in the Upload PDF --> Annototate PDF marking system could be organisaed by alphabetical order as opposed to creation date.
As a result, I have made the following code change which has not been fully tested as of yet.
Inside the folder: www\mod\assign\feedback\editpdf\classes
under 'comments_quick_list.php'
I have changed the PHP to include:
usort($records, function($a, $b)
{return strcasecmp($a->rawtext, $b->rawtext);});
after line 45
If this feature is something people marking work find easier to use over the current order of creation date, then please include the code change to core Moodle. Alternatively, maybe an option can be added to the admin configuration for Upload PDF Quickcomments that selects sort order. This code has been added to Moodle 2.6.11.