--- ../../moodle-194/mod/assignment/lib.php 2009-02-16 15:05:38.000000000 -0800 +++ mod/assignment/lib.php 2009-03-09 16:17:01.000000000 -0700 @@ -1,4 +1,4 @@ -column_class('outcome', 'outcome'); } + // MOD -- Use new column property method to define the type of column + // This is used so that the flexible_table class knows that this is a text or ntext + // column, and so can convert the column into a varchar or nvarchar when being used in an + // ORDER BY statement + $table->column_properties('submissioncomment', array( + 'type'=>'text' + )); + // End MOD + $table->set_attribute('cellspacing', '0'); $table->set_attribute('id', 'attempts'); $table->set_attribute('class', 'submissions');