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

Saved search is incorrectly using IN rather than BETWEEN for custom fields for civicrm group cache

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.7
    • Fix Version/s: 4.7.14
    • Component/s: None
    • Labels:
    • Documentation Required?:
      None
    • Funding Source:
      Core Team Funds

      Description

      Hi,

      Saved search is incorrectly using IN rather than BETWEEN for custom fields for civicrm group cache

      To replicate: Advanced Search and search a custom field for a range, then save result as a smart group. The Advanced search returns the correct resolve however when the group is saved it does not. Looking into the code it seems like it is using IN rather than BETWEEN for saving the civicrm_group_cache

      Thanks

      Joseph

        Attachments

          Activity

            People

            • Assignee:
              jitendra.purohit Jitendra Purohit
              Reporter:
              joseph.martin Joseph Martin
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: