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

contact export, include group option lists hidden groups

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.4.5, 4.0.5
    • Fix Version/s: 3.4.6
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      in the contact export dialog we have the option of including contacts in a static group. that select list includes hidden groups, and shouldn't.

      the problem is that our pseudoconstant function "staticGroups" does not exclude hidden groups (and doesn't provide a parameter to)

      the attached patch adds that parameter and sets it as the default. so unless explicitly requested, that function now returns all static groups less any hidden groups.

      i grep'd the code and there are a number of other places that pseudoconstant is called. but in a quick review of them, I think we want hidden groups excluded for all of them. however, core team will want to review and confirm.

        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: