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

GroupContact API doesn't get smart group members

    Details

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

      Description

      Trying to get smart group members using the API only returns contacts that have been added in a static way.

      Here's a smart group on the demo site with 17 contacts: http://drupal.demo.civicrm.org/civicrm/group/search?reset=1&force=1&context=smog&gid=6

      An API call however returns nothing:
      http://drupal.demo.civicrm.org/civicrm/api/explorer#/civicrm/ajax/rest?json=1&sequential=1&debug=1&&entity=GroupContact&action=get&group_id=6

        Attachments

          Activity

            People

            • Assignee:
              eileen Eileen McNaughton
              Reporter:
              stan_d Stan Dragnev
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: