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

Update library functions to support multiple groups

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.9
    • Fix Version/s: None
    • Component/s: Groups, Libraries
    • Labels:
    • Affected Branches:
      MOODLE_39_STABLE

      Description

      Now that the groupslib functions that prepare SQL to fetch members of a group have been updated to support multiple groups (groups_get_members_ids_sql and groups_get_members_join), we should update related methods that utilise these to support the same where applicable.

      Some examples to investigate include:

      get_enrolled_with_capabilities_join
      get_enrolled_sql
      get_enrolled_users
      count_enrolled_users

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              michaelh Michael Hawkins
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 10 minutes
                  10m