MDL-70871 user: Move 'Show all X' functionality to dynamic_table

This commit is contained in:
Mikel Martín
2021-03-23 09:57:52 +01:00
parent 96668b7c35
commit 75627cc770
5 changed files with 12 additions and 79 deletions
+2
View File
@@ -195,6 +195,8 @@ class participants extends \table_sql implements dynamic_table {
$this->no_sorting('groups');
}
$this->set_default_per_page(20);
$this->set_attribute('id', 'participants');
$this->countries = get_string_manager()->get_list_of_countries(true);