From: jamiesensei Date: Thu, 15 May 2008 12:54:01 +0000 (+0000) Subject: MDL-14200 "Add group and course averages" fix for bug introduced in this patch. We... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=e649d4b12071d12f1ef56280466ad831570570c5;p=moodle.git MDL-14200 "Add group and course averages" fix for bug introduced in this patch. We are now using a seperate sql command to get the feedback text as we need to get it for the average rows too. Since it is not part of the sql to fetch attempt data we can't sort on Feedback anymore so removed the option from the table. Sorting by feedbacktext is not really useful anyway, users are more likely to want to sort by grade. Merged from 1.9 branch. --- diff --git a/mod/quiz/report/overview/report.php b/mod/quiz/report/overview/report.php index 3d4070b0ac..b5da86a88a 100644 --- a/mod/quiz/report/overview/report.php +++ b/mod/quiz/report/overview/report.php @@ -191,6 +191,8 @@ class quiz_report extends quiz_default_report { $table->column_suppress('picture'); $table->column_suppress('fullname'); + + $table->no_sorting('feedbacktext'); $table->column_class('picture', 'picture'); $table->column_class('fullname', 'bold');