From 281917e90bbd64a78ce6624eda29d86559c040b2 Mon Sep 17 00:00:00 2001 From: poltawski Date: Thu, 20 Dec 2007 17:43:19 +0000 Subject: [PATCH] MDL-12159 - We were only showing the filter selections to the user list when there were more results than shown on the current page. This is unintuitive with small lists where we were invisibly exluding users because of a filter which is applied (but not shown on screen). Now we always show the filter selections. Thanks to John Ryan. merged from MOODLE_19_STABLE --- user/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user/index.php b/user/index.php index ee07aac874..e07d8e763f 100644 --- a/user/index.php +++ b/user/index.php @@ -456,7 +456,7 @@ $matchcount = count_records_sql('SELECT COUNT(distinct u.id) '.$from.$where.$wheresearch); - $table->initialbars($totalcount > $perpage); + $table->initialbars(true); $table->pagesize($perpage, $matchcount); $userlist = get_recordset_sql($select.$from.$where.$wheresearch.$sort, -- 2.39.5