Deduping produces bad results after a rule change
Overview
When a dedupe rule is changed, the results appear to be cached.
Reproduction steps
- Create a dedupe rule on 'Last Name' weight 5, 'First Name' weight 5, threshold 5.
- Run a dedupe search with this rule - should show contacts with either first or last matching names
- Edit the dedupe rule, change the threshold to 10.
- Run a dedupe search with this rule
Current behaviour
Shows previous results - those with first or last matching names. Click the 'Threshold' box and note scores of 5 - below the specified threshold of 10.
Expected behaviour
Should only list contacts with matching first and last names where threshold score is 10.
Environment information
- CiviCRM: Master
If you're quick, there is a 'New first, last' rule on dmaster showing the problem.