From db180619b22df3a50ec2c7083db769bf640b2bbb Mon Sep 17 00:00:00 2001 From: Angel Fernando Quiroz Campos Date: Tue, 12 Feb 2019 10:30:07 -0500 Subject: [PATCH] Use SortableTableFromArray to show course reporting #2717 --- main/tracking/courseLog.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/main/tracking/courseLog.php b/main/tracking/courseLog.php index fa96a570a0..0e53ac5299 100755 --- a/main/tracking/courseLog.php +++ b/main/tracking/courseLog.php @@ -472,11 +472,11 @@ if (count($a_students) > 0) { $all_datas = []; $course_code = $_course['id']; - $table = new SortableTable( - 'users_tracking', - ['TrackingCourseLog', 'get_number_of_users'], - ['TrackingCourseLog', 'get_user_data'], - 1 + $table = new SortableTableFromArray( + $usersTracking, + 1, + 20, + 'users_tracking' ); $parameters['cidReq'] = isset($_GET['cidReq']) ? Security::remove_XSS($_GET['cidReq']) : '';