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

Advanced Search/Search Builder - SQL error when Sort Name field contains a single apostrophe

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.2.6, 4.2.7
    • Fix Version/s: 4.3.0
    • Component/s: CiviCRM Search
    • Labels:
      None

      Description

      To reproduce: do an Advanced Search with the "Complete OR Partial Name" field containing a single apostrophe.

      Or, in Search Builder, search on Contact Sort Name, with a single apostrophe in the field.

      A patch is included.

        Attachments

          Activity

            People

            • Assignee:
              yashodha Yashodha Chaku
              Reporter:
              noah Noah Miller
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: