From f77efbe3beaa2632a7deb75476003d353a9df4ba Mon Sep 17 00:00:00 2001 From: defacer Date: Fri, 21 Oct 2005 01:13:56 +0000 Subject: [PATCH] Fix for bug 4127: In the course participants page, selecting an initials filter in one course and then moving to another (the filter would propagate) could result in few or no results being displayed. The teacher would then have no way of resetting the filter and viewing all (or possibly any) participants. Fixed by making each course participant page independent. They no longer share sort orders, collapsed column state, or initials filters. --- user/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/user/index.php b/user/index.php index 496c855d043..2923a491ae9 100644 --- a/user/index.php +++ b/user/index.php @@ -136,7 +136,7 @@ $tablecolumns = array('picture', 'fullname', 'city', 'country', 'lastaccess'); $tableheaders = array('', get_string('fullname'), get_string('city'), get_string('country'), get_string('lastaccess')); - $table = new flexible_table('user-index-teachers'); + $table = new flexible_table('user-index-teachers-'.$course->id); $table->define_columns($tablecolumns); $table->define_headers($tableheaders); @@ -246,7 +246,7 @@ $tablecolumns = array('picture', 'fullname', 'city', 'country', 'lastaccess'); $tableheaders = array('', get_string('fullname'), get_string('city'), get_string('country'), get_string('lastaccess')); - $table = new flexible_table('user-index-students'); + $table = new flexible_table('user-index-students-'.$course->id); $table->define_columns($tablecolumns); $table->define_headers($tableheaders);