From 05289910b7a63c93764009bad39ee12e2122fbb0 Mon Sep 17 00:00:00 2001 From: jamiesensei Date: Thu, 15 May 2008 12:52:56 +0000 Subject: [PATCH] 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. --- mod/quiz/report/overview/report.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mod/quiz/report/overview/report.php b/mod/quiz/report/overview/report.php index 3d4070b0ac5..b5da86a88a9 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');