Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-70565

Add ability to search country field on Participants page

XMLWordPrintable

    • MOODLE_310_STABLE, MOODLE_311_STABLE, MOODLE_39_STABLE, MOODLE_400_STABLE
    • MOODLE_311_STABLE
    • Hide
      1. Login as admin
      2. Create a new course with short name: CS101
      3. Use user upload tool to upload MDL-70565.csv in order to create and enrol 20 students in the course
      4. Navigate to Users > Permissions > User policies in site administration
      5. Ensure Country is not selected for Show user identity
      6. Navigate to the participants page of your new course
      7. Confirm Country filter is not available
      8. Navigate to Users > Permissions > User policies in site administration
      9. Ensure Country is selected for Show user identity
      10. Navigate to the participants page of your new course
      11. Confirm Country filter is available
      12. Select Country filter
      13. Choose Spain & Germany from the Type or select... autocomplete
      14. Press Apply filters
      15. Confirm only those users from Spain & Germany are listed
      16. Change Match: Any to Match: None
      17. Press Apply filters
      18. Confirm only those users not from Spain & Germany are listed

      Run unit tests:

      $ vendor/bin/phpunit user/tests/table/participants_search_test.php
      

      Show
      Login as admin Create a new course with short name: CS101 Use user upload tool to upload MDL-70565.csv in order to create and enrol 20 students in the course Navigate to Users > Permissions > User policies in site administration Ensure Country is not selected for Show user identity Navigate to the participants page of your new course Confirm Country filter is not available Navigate to Users > Permissions > User policies in site administration Ensure Country is selected for Show user identity Navigate to the participants page of your new course Confirm Country filter is available Select Country filter Choose Spain & Germany from the Type or select... autocomplete Press Apply filters Confirm only those users from Spain & Germany are listed Change Match: Any to Match: None Press Apply filters Confirm only those users not from Spain & Germany are listed Run unit tests: $ vendor/bin/phpunit user/tests/table/participants_search_test.php

      When country is selected as a user identity field so it shows on the participants list, you can not search the country name by keyword. There doesn't appear to be any way to search the participant list by country. City does work, but country does not.

        1. MDL-70565.csv
          1 kB
        2. Screenshot_1.jpg
          Screenshot_1.jpg
          58 kB
        3. Screenshot_2.jpg
          Screenshot_2.jpg
          119 kB

            pholden Paul Holden
            heather.williams Heather Williams
            Carlos Escobedo Carlos Escobedo
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Janelle Barcega Janelle Barcega
            Votes:
            1 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 20 minutes
                1d 20m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.