From 734305001513d7f19c7337a915d3807de3788a5d Mon Sep 17 00:00:00 2001 From: Sesostris Vieira Date: Tue, 10 Jun 2014 20:09:47 -0300 Subject: [PATCH] Limita o tamanho do recordset recuperado em 25 registros --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index 7af8ebb..7ebf779 100644 --- a/index.php +++ b/index.php @@ -171,7 +171,7 @@ if ($sort == 'timecreated') { } $total = $DB->count_records_sql($sql, $params + $where_params); -$userlist = $DB->get_records_sql($sql, $params + $where_params, $start); +$userlist = $DB->get_records_sql($sql, $params + $where_params, $start, ILBENROL_REPORT_PAGE); if ($csv && $userlist) { // Only show CSV if there are some users $shortname = format_string($course->shortname, true, array('context' => $context));