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

profile search with limit listings to group, where group is a parent, yields duplicates in result list

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 3.2.3
    • Fix Version/s: 3.3.1
    • Component/s: CiviCRM Profile
    • Labels:
      None

      Description

      create a group and add contacts to it (Group Parent)
      create a second group, indicate the former is a parent, and add contacts (Group Child)
      create a profile and limit listings to the parent group
      display as profile search and run the search –
      the result listing displays duplicated contacts

      tested on sandbox: http://drupal.demo.civicrm.org/civicrm/profile/search?gid=8&reset=1

      I'm not sure where the behavior is coming from. I've checked the group cache table and they are being constructed correctly – the combined list of contacts are added and there are no dups. I do note that it appears the dupes only occur for records that are part of other groups – though the number of groups doesn't seem to correlate to the number of duplicates in the result list.

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              lcdweb Brian Shaughnessy
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: