Details
-
New Feature
-
Resolution: Done
-
Minor
-
None
-
3.9
-
MOODLE_39_STABLE
-
MDL-68169-master-fixes2 -
Hide
Setup
- Install a new site
- Run the attached datagenerator (smartdata.php
Testing
- Log in as admin
- Navigate to the CHEM102 course
- Open the Participants page
Add condition limitation
- Press the "Add condition" button five times
- Confirm that you were able to do so
- Confirm that after pressing it five times it was disabled
- Delete one of the conditions
- Confirm that it is now re-enabled
- Press the "Add condition" button again
- Confirm that you were able to do so
- Confirm that after pressing it five times it was disabled
- Press the "Clear filters" button
- Confirm that all filters were removed and replaced with a single filter
- Confirm that you can press the Add condition button again
Keyword filtering
- Select the "Keyword" option from the list of filter types
- Press "Add condition"
- Open the list of filter types in the new row
- Confirm that "Keyword" is not present
Note: On IE it will be present, but disabled due to a limitation in IE
- Confirm that "Keyword" is not present
- Delete the extra row
- In the "Type or select..." section for the Keyword, search for "Ben"
- Press the "Apply filters" button
- Confirm that the table was updated
- Confirm that you see results with users whose first name is "Benjamin"
- Confirm that you see results with users whose last name is "Bennett"
- Choose one of the users in your list
- Also search for their other name. I.e. if their name is "Benjamin baker", search for "BAKER"
- Press the "Apply filters" button
- Confirm that the table was updated
- *Confirm that you see results with users who match both queries
- Delete both search terms
- Note the e-mail address of one of the users
- Enter a unique part for the e-mail address as a search term. For example in the e-mail address "benjamin.baker@example.com.au", I can search for "min.b", or "baker@example"
- Press the "Apply filters" button
- Confirm that the table was updated
- Confirm that you see results with users whose e-mail address matches the term you entered
- Delete the Keyword search
"Inactive for more than" filter
- Select the "Inactive for more than" filter
- Confirm that the default value of 1 day is selected
- Press the "Apply filters" button
- Confirm that the table was updated
- Choose a value of "3 weeks" from the list
- Confirm that the "1 day" option was replaced with the "3 weeks" option
- Press the "Apply filters" button
- Confirm that the table was updated
- Confirm that the "Last access to course" column has no values lower than 21 days in it
Note: Users who have never logged in are not shown. This is an existing bug in the existing filtering and will be fixed in a separate issue
- Try with other values
- Confirm that onyl users who have not logged in within a longer period are shown
Note: The "Never" option is currently not working and will be fixed when the other issue is fixed
- Confirm that onyl users who have not logged in within a longer period are shown
- Delete the "Inactive for more than" search
"Status" filter
- Select the "Status" filter
- Choose a value of "Inactive"
- Press the "Apply filters" button
- Confirm that the table was updated
- Confirm that only users who are "Suspended" are shown
- Delete the "Inactive" option
- Select to the "Active" option
- Press the "Apply filters" button
- Confirm that the table was updated
- Confirm that only users who are "Active" are shown
- Delete the "Status" search
"Roles" filter
- Select the "Roles" filter
- Edit the roles for one of the users who is a "Student" in the course
- Add the "Teacher" role to that user and save
- Choose a value of "Teacher"
- Press the "Apply filters" button
- Confirm that the table was updated
- Confirm that only users who are a "Teacher" are shown
- Confirm tha the user who is both a student and teacher is shown
- Delete the "Roles" search
"Groups" filter
- Select the "Groups" filter
- Choose one of the groups from the dropdown
- Press the "Apply filters" button
- Confirm that the table was updated
- Confirm that only users who are in that group are shown
- Delete the "Groups" search
"Enrolment methods" filter
- Select the "Enrolment methods" filter
- Choose "Self enrolment"
Note: Users from the script are all enrolled via Manual enrolment - Press the "Apply filters" button
- Confirm that the table was updated
- Confirm that all users are removed from the search results
Note: If you have any who are self enrolled then you will see them.
- Delete the "Self enrolment" filter
- Add "Manual enrolments" filter
- Press the "Apply filters" button
- Confirm that the table was updated
- Confirm that loads of results are shown
- Delete the "Enrolment methods" search
Multiple filters
- Choose a user to play with
Note their first name, last name, e-mail address, list of groups, and list of roles - Apply a combination of Keyword, Group, Role, and last access since filters to match that user
- Confirm that users are removed and only users matching all properties are shown
ShowSetup Install a new site Run the attached datagenerator ( smartdata.php Testing Log in as admin Navigate to the CHEM102 course Open the Participants page Add condition limitation Press the "Add condition" button five times Confirm that you were able to do so Confirm that after pressing it five times it was disabled Delete one of the conditions Confirm that it is now re-enabled Press the "Add condition" button again Confirm that you were able to do so Confirm that after pressing it five times it was disabled Press the "Clear filters" button Confirm that all filters were removed and replaced with a single filter Confirm that you can press the Add condition button again Keyword filtering Select the "Keyword" option from the list of filter types Press "Add condition" Open the list of filter types in the new row Confirm that "Keyword" is not present Note: On IE it will be present, but disabled due to a limitation in IE Delete the extra row In the "Type or select..." section for the Keyword, search for " Ben " Press the "Apply filters" button Confirm that the table was updated Confirm that you see results with users whose first name is "Benjamin" Confirm that you see results with users whose last name is "Bennett" Choose one of the users in your list Also search for their other name. I.e. if their name is "Benjamin baker", search for "BAKER" Press the "Apply filters" button Confirm that the table was updated *Confirm that you see results with users who match both queries Delete both search terms Note the e-mail address of one of the users Enter a unique part for the e-mail address as a search term. For example in the e-mail address " benjamin.baker@example.com.au ", I can search for " min.b ", or " baker@example " Press the "Apply filters" button Confirm that the table was updated Confirm that you see results with users whose e-mail address matches the term you entered Delete the Keyword search "Inactive for more than" filter Select the "Inactive for more than" filter Confirm that the default value of 1 day is selected Press the "Apply filters" button Confirm that the table was updated Choose a value of "3 weeks" from the list Confirm that the "1 day" option was replaced with the "3 weeks" option Press the "Apply filters" button Confirm that the table was updated Confirm that the "Last access to course" column has no values lower than 21 days in it Note: Users who have never logged in are not shown. This is an existing bug in the existing filtering and will be fixed in a separate issue Try with other values Confirm that onyl users who have not logged in within a longer period are shown Note: The "Never" option is currently not working and will be fixed when the other issue is fixed Delete the "Inactive for more than" search "Status" filter Select the "Status" filter Choose a value of "Inactive" Press the "Apply filters" button Confirm that the table was updated Confirm that only users who are "Suspended" are shown Delete the "Inactive" option Select to the "Active" option Press the "Apply filters" button Confirm that the table was updated Confirm that only users who are "Active" are shown Delete the "Status" search "Roles" filter Select the "Roles" filter Edit the roles for one of the users who is a "Student" in the course Add the "Teacher" role to that user and save Choose a value of "Teacher" Press the "Apply filters" button Confirm that the table was updated Confirm that only users who are a "Teacher" are shown Confirm tha the user who is both a student and teacher is shown Delete the "Roles" search "Groups" filter Select the "Groups" filter Choose one of the groups from the dropdown Press the "Apply filters" button Confirm that the table was updated Confirm that only users who are in that group are shown Delete the "Groups" search "Enrolment methods" filter Select the "Enrolment methods" filter Choose "Self enrolment" Note: Users from the script are all enrolled via Manual enrolment Press the "Apply filters" button Confirm that the table was updated Confirm that all users are removed from the search results Note: If you have any who are self enrolled then you will see them. Delete the "Self enrolment" filter Add "Manual enrolments" filter Press the "Apply filters" button Confirm that the table was updated Confirm that loads of results are shown Delete the "Enrolment methods" search Multiple filters Choose a user to play with Note their first name, last name, e-mail address, list of groups, and list of roles Apply a combination of Keyword, Group, Role, and last access since filters to match that user Confirm that users are removed and only users matching all properties are shown
-
6
-
International 3.9 - Sprint 9, International 3.9 - Sprint 10
Description
Add the Roles and Enrolment Methods enumerated filter types to the new participants filter.
Also, enable the "+ Add condition" functionality, so that multiple filters can be added concurrently. For this issue, only AND will be applied between each filter.
Attachments
Issue Links
- blocks
-
MDL-68170 Add groups enumerated filter type to the participants filter
-
- Closed
-
-
MDL-68171 Add the ability to set the join type between filters in the participants filter
-
- Closed
-
-
MDL-68173 Implement submitting participants filter to update the page
-
- Closed
-
- is blocked by
-
MDL-67917 Create a single filter for tables and the AMD structure behind this
-
- Closed
-
- is duplicated by
-
MDL-68416 Limit "Add condition" button
-
- Closed
-