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

Update library functions to support multiple groups

    XMLWordPrintable

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.9
    • None
    • Groups, Libraries
    • 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

              Unassigned Unassigned
              michaelh Michael Hawkins
              Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, 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