From: poltawski Date: Thu, 20 Dec 2007 17:43:19 +0000 (+0000) Subject: MDL-12159 - We were only showing the filter selections to the user list when X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=281917e90bbd64a78ce6624eda29d86559c040b2;p=moodle.git 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 --- 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,