From a57a585cd256cad917cf28003edeef75948fef26 Mon Sep 17 00:00:00 2001 From: Sagar Ghimire Date: Mon, 24 Jun 2019 11:29:47 +1000 Subject: [PATCH] MDL-48610 tablelib: Always show alphabet filter in grader report --- lib/tablelib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tablelib.php b/lib/tablelib.php index 421632cbc0c..2b72e08b8d9 100644 --- a/lib/tablelib.php +++ b/lib/tablelib.php @@ -1615,7 +1615,7 @@ class table_sql extends flexible_table { } $grandtotal = $DB->count_records_sql($this->countsql, $this->countparams); if ($useinitialsbar && !$this->is_downloading()) { - $this->initialbars($grandtotal > $pagesize); + $this->initialbars(true); } list($wsql, $wparams) = $this->get_sql_where();