Skip to content
Snippets Groups Projects
Commit 93e414a6 authored by Sebastian Listl's avatar Sebastian Listl :speech_balloon:
Browse files

Duplicate Person merge success condition changed

parent 8da2a2e2
No related branches found
No related tags found
No related merge requests found
......@@ -649,7 +649,7 @@ DuplicateScannerUtils.mergePerson = function(pSourceContactId, pTargetContactId)
DuplicateScannerUtils.deleteCachedDuplicate(pSourceContactId);
return ((isLinkedDataUpdated || isParticipantsUpdated) && deletedRows > 0);
return isLinkedDataUpdated || isParticipantsUpdated || deletedRows > 0;
}
DuplicateScannerUtils.createMergeSuccessActivity = function(pSourceContactId, pTargetContactId, pCurrentContactId, pContext)
......@@ -1159,7 +1159,7 @@ _DuplicateScannerUtils._migrateLinkedContactData = function (pSourceContactId, p
var setStandardsStatements = [];
var [standardPhone, standardMail, standardAddressId] = newSelect([
"(" + CommUtil.getStandardSubSqlPhone() + ")",
"(" +CommUtil.getStandardSubSqlMail() + ")",
"(" + CommUtil.getStandardSubSqlMail() + ")",
"CONTACT.ADDRESS_ID"
])
.from("CONTACT")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment