Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-9021

API for getting members of a group doesn't fetch from smart groups

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 4.0.6
    • Fix Version/s: 4.1.0
    • Component/s: CiviCRM API
    • Labels:
      None

      Description

      petednz reported to me that civicrm_api('group_contact', 'get') with group ID passed as a param was not fetching "smart" members of a group, only static ones.
      Not sure what's up with this, but the API must be calling some pretty crusty method since the rest of CiviCRM is so nicely smart-group aware.
      I'm happy to work on this, but could use a hint about where to look for the correct function to retrieve members of a group.

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              colemanw Coleman Watts
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: