Moodle

Allow filtering when auto-creating groups

Details

  • Type: Improvement Improvement
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: 1.9.4
  • Fix Version/s: DEV backlog
  • Component/s: Groups
  • Labels:
    None
  • Environment:
    All
  • Database:
    Any
  • Difficulty:
    Easy
  • Affected Branches:
    MOODLE_19_STABLE

Description

When using the auto create function for groups, it would be great to be able to filter the selection from which the auto creation is running.

For example, a Moodle site has students from three schools operating in a shared environment, and the teacher at one school wants to create random groups within their school. At the moment, this can't be done using the auto create function, as it will pull from all three schools, however if there was a feature where the filtering code from the 'Browse Users' function was included as part of the process then the teacher could choose to just create random groups of users with an email address from their school. Only workaround I can think of atm is to use a User Upload process to create groups, but this requires access to create users, so its far from ideal.

  1. autogroup.php.patch
    02/Apr/09 2:18 PM
    1 kB
    Chris Waclawik
  2. autogroupfiltering
    02/Apr/09 2:18 PM
    101 kB
    Chris Waclawik
  3. lib.php.patch
    02/Apr/09 2:18 PM
    1 kB
    Chris Waclawik
  1. autogroupfiltering.jpg
    101 kB
    02/Apr/09 2:21 PM

Activity

Hide
Chris Waclawik added a comment -

A patch adding the filtering box from the 'Browse Users' feature to the 'Autogroup' feature. A screenshot showing how it looks.

Show
Chris Waclawik added a comment - A patch adding the filtering box from the 'Browse Users' feature to the 'Autogroup' feature. A screenshot showing how it looks.
Hide
Chris Waclawik added a comment -

I've added the filter forms as they appear on the "Browse Users" page. This makes the "Select members from role" redundant... although we may want to leave this out as it may be the most common option. It might be useful to have a list showing what students the filter selected... but if the class is large enough, this could clutter the page, defeating the point of having a simple "autogroup" feature.

Any further suggestions on how to implement this?

Show
Chris Waclawik added a comment - I've added the filter forms as they appear on the "Browse Users" page. This makes the "Select members from role" redundant... although we may want to leave this out as it may be the most common option. It might be useful to have a list showing what students the filter selected... but if the class is large enough, this could clutter the page, defeating the point of having a simple "autogroup" feature. Any further suggestions on how to implement this?
Hide
Petr Škoda (skodak) added a comment -

thanks, good idea

Show
Petr Škoda (skodak) added a comment - thanks, good idea

People

Vote (0)
Watch (2)

Dates

  • Created:
    Updated: