From de288c6099ea10f7c4494f440cc18b116cd659ee Mon Sep 17 00:00:00 2001 From: skodak Date: Thu, 6 Jul 2006 09:46:49 +0000 Subject: [PATCH] Bug #5615 - Assigment listing shows duplicate names with paged display --- mod/assignment/lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/assignment/lib.php b/mod/assignment/lib.php index 20f30925391..7fefab7494c 100644 --- a/mod/assignment/lib.php +++ b/mod/assignment/lib.php @@ -1018,7 +1018,7 @@ class assignment_base { $table->define_headers($tableheaders); $table->define_baseurl($CFG->wwwroot.'/mod/assignment/submissions.php?id='.$this->cm->id.'&currentgroup='.$currentgroup); - $table->sortable(true); + $table->sortable(true, 'lastname');//sorted by lastname by default $table->collapsible(true); $table->initialbars(true);