mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
Merge branch 'MDL-71832-master' of https://github.com/sammarshallou/moodle
This commit is contained in:
commit
c116f35cb9
@ -48,3 +48,12 @@ Feature: An administrator can browse user accounts
|
||||
| User Two | Tree | Defence |
|
||||
And I should not see "Email address" in the "table" "css_element"
|
||||
And I should not see "one@example.com"
|
||||
|
||||
Scenario: Sort user accounts by custom profile field
|
||||
Given the following config values are set as admin:
|
||||
| showuseridentity | profile_field_frog |
|
||||
When I navigate to "Users > Accounts > Browse list of users" in site administration
|
||||
And I follow "Favourite frog"
|
||||
Then "Kermit" "text" should appear before "Tree" "text"
|
||||
And I follow "Favourite frog"
|
||||
Then "Tree" "text" should appear before "Kermi" "text"
|
||||
|
@ -9,7 +9,7 @@
|
||||
$delete = optional_param('delete', 0, PARAM_INT);
|
||||
$confirm = optional_param('confirm', '', PARAM_ALPHANUM); //md5 confirmation hash
|
||||
$confirmuser = optional_param('confirmuser', 0, PARAM_INT);
|
||||
$sort = optional_param('sort', 'name', PARAM_ALPHANUM);
|
||||
$sort = optional_param('sort', 'name', PARAM_ALPHANUMEXT);
|
||||
$dir = optional_param('dir', 'ASC', PARAM_ALPHA);
|
||||
$page = optional_param('page', 0, PARAM_INT);
|
||||
$perpage = optional_param('perpage', 30, PARAM_INT); // how many per page
|
||||
|
Loading…
x
Reference in New Issue
Block a user