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

When using Yes/ No Custom field and Search Builder Field != 1, does not return null records

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 1.7
    • Fix Version/s: Unscheduled
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      See the demo site. I created a custom field called "Contact is Removed" and then I went to search builder and added the criteria "Contact is Removed" != 1. I get 0 results. I understand this is because it is joining on civicrm_custom_field_value, but what does someone do, if they add a field (even with a default value like I did) after the contact has been created, and want to do a negative test?

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              jacobsingh Jacob Singh
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: