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

Manage Group page is slow if you have smart groups

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.7.24
    • Fix Version/s: 4.7.27
    • Component/s: Core CiviCRM
    • Labels:
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding
    • Verified?:
      No

      Description

      This seems to be a regression caused by CRM-20226. Previously group counts were calculated via SQLstatements that explicitly counted records in the civicrm_group_contact and civicrm_group_contact_cache tables.

      However, with CRM-20226, this behavior was changed and instead they are being counted via the Contact.getcount API call which seems to trigger a group cache rebuild.

      (Mentioning Manage Groups (plural) to aid searching, as this didn't come up in a search for "manage groups count" - Dave J.)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jamie Jamie McClelland
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: