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

FIx slow queries due to LOWER on contact name fields

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.7.15
    • Fix Version/s: 4.7.18
    • Component/s: None
    • Labels:
      None
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code
    • Verified?:
      No

      Description

      This is a follow on to expand CRM-19811 to cover contact name fields like first_name etc. I recently discovered contact.get('first_name' => 'x', 'last_name' => 'y') is taking up to 40 seconds on a large dataset due to the LOWER fn

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: