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

1064436 Duplicate merge fix

parent ff5d5102
No related branches found
No related tags found
No related merge requests found
......@@ -1239,7 +1239,9 @@ _DuplicateScannerUtils._getLinkedTableInfos = function(pTargetContactId)
.where("COMMUNICATION.CONTACT_ID", pTargetContactId)
.arrayColumn();
var communicationDedupCondition = newWhereIfSet("COMMUNICATION.ADDR", targetComms, SqlBuilder.NOT_IN());
var communicationDedupCondition = targetComms.length > 0
? newWhere("COMMUNICATION.ADDR", targetComms, SqlBuilder.NOT_IN())
: null;
return[
["AB_APPOINTMENTLINK", "OBJECT_ROWID"],
......
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