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

Make Visible/All groups selector show own groups first

XMLWordPrintable

    • MOODLE_28_STABLE, MOODLE_29_STABLE
    • MOODLE_29_STABLE
    • wip-MDL-48437_MASTER
    • Hide

      This code change alters course and activity group selector options.

      Requirements:
      Admin/manager user
      Test course with group mode set to 'Visible groups'
      Test student enrolled on Test course
      Test forum on Test course with Group mode set to 'Separate groups'

      As admin:
      1. Access Test course and create 5 groups in the course named 'Group1', 'Group2' etc.
      2. Make the test student a member of 'Group1' and 'Group3'
      3. Access Test forum in the test course
      4. Open the 'Separate groups' drop-down
      5. Verify it lists 'All participants' and Groups 1-5

      As student:
      6. Access Test forum in the test course
      7. Open the 'Separate groups' drop-down
      8. Verify it lists Group1 and Group3 only

      As admin:
      9. Access test course and enter test forum
      10. Select 'Edit settings' from the 'Administration block' and change the forum group mode to 'Visible' groups
      11. Select 'Save and display', check 'Visible groups' drop-down lists 'All participants' and Groups 1-5

      As student:
      12. Access Test forum in the test course
      13. Open the 'Visible groups' drop-down
      14. Verify it lists 'My groups' as 'Group1' and 'Group3'
      15. Verify it lists 'Other groups' as 'Group2', 'Group4' and 'Group5'

      As admin:
      16. Access Test course and navigate to the Groups screen
      17. Add current user as member of 'Group5'
      18. Access course 'Grades' report and select 'User report' from Grade administration options
      19. Open 'Visible groups' drop-down. Verify it lists All participants, then 'My groups' as 'Group5' and 'Other groups' as groups 1-4

      Unit tests: lib/tests/grouplib_test.php

      Show
      This code change alters course and activity group selector options. Requirements: Admin/manager user Test course with group mode set to 'Visible groups' Test student enrolled on Test course Test forum on Test course with Group mode set to 'Separate groups' As admin: 1. Access Test course and create 5 groups in the course named 'Group1', 'Group2' etc. 2. Make the test student a member of 'Group1' and 'Group3' 3. Access Test forum in the test course 4. Open the 'Separate groups' drop-down 5. Verify it lists 'All participants' and Groups 1-5 As student: 6. Access Test forum in the test course 7. Open the 'Separate groups' drop-down 8. Verify it lists Group1 and Group3 only As admin: 9. Access test course and enter test forum 10. Select 'Edit settings' from the 'Administration block' and change the forum group mode to 'Visible' groups 11. Select 'Save and display', check 'Visible groups' drop-down lists 'All participants' and Groups 1-5 As student: 12. Access Test forum in the test course 13. Open the 'Visible groups' drop-down 14. Verify it lists 'My groups' as 'Group1' and 'Group3' 15. Verify it lists 'Other groups' as 'Group2', 'Group4' and 'Group5' As admin: 16. Access Test course and navigate to the Groups screen 17. Add current user as member of 'Group5' 18. Access course 'Grades' report and select 'User report' from Grade administration options 19. Open 'Visible groups' drop-down. Verify it lists All participants, then 'My groups' as 'Group5' and 'Other groups' as groups 1-4 Unit tests: lib/tests/grouplib_test.php

      I would like to suggest a potential improvement to the the groups selector drop-down menu in activities/courses etc, whereby when using visible groups, or access all groups, that the groups that you are a member of would be shown at the top of the list.

      The rationale behind this is that it hopefully saves time for those users in separate group activities on courses with lots of groups as their own groups would be hopefully easier to spot and select.

      Each set of groups should be in alphabetical order; so own groups in alphabetical order followed by all other course groups in alphabetical order.

            jp76 Jason Platts
            jp76 Jason Platts
            Tim Hunt Tim Hunt
            David Monllaó David Monllaó
            Mark Nelson Mark Nelson
            Votes:
            1 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved:

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