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
$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,