Pass cachekey around more & criteria less
authoreileen <emcnaughton@wikimedia.org>
Tue, 5 Jun 2018 05:27:50 +0000 (17:27 +1200)
committereileen <emcnaughton@wikimedia.org>
Tue, 12 Jun 2018 03:56:46 +0000 (15:56 +1200)
commit9d2f6d53cdd5f06b15dbdaa844c4dbca1a5292cb
treef8df38daac230a9b8461ccfb0296f31935deddd9
parentc74f20c7923f0a633db9976d8f0c9c6f94f0a667
Pass cachekey around more & criteria less

It turned out the toggleDuplicates was not working when criteria was set as the validation rule didn't work.

Passing around cacheKey
is easier to validate and we know the cache willbe created at the point of toggle. Use cacheKey instead
in url
CRM/Contact/Page/AJAX.php
CRM/Contact/Page/DedupeFind.php
CRM/Dedupe/Merger.php
templates/CRM/Contact/Page/DedupeFind.tpl