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

Views generates incorrect SQL for multi-select state/province custom fields

    Details

    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Funding Source:
      Needs Funding

      Description

      Views integration doesn't work with a multi-select state/province custom field.

      The file /sites/all/modules/civicrm/drupal/modules/views/civicrm/civicrm_handler_filter_state_multi.inc presumes state/province is a single-value field, so the operators are all "=" and "!=" rather than "LIKE" and "NOT LIKE".

        Attachments

          Activity

            People

            • Assignee:
              chrischinchilla Chris Chinchilla
              Reporter:
              palantejon Jon K Goldberg
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: