Skip to content
Snippets Groups Projects
Commit fec2a3e4 authored by David Büchler's avatar David Büchler
Browse files

Detailansicht zeigt nun alle Kontakte innerhalb des selektierten Clusters...

Detailansicht zeigt nun alle Kontakte innerhalb des selektierten Clusters ausgenommen der ignorierten Dubletten in der personfilter_view.
Die ignorierten werden demnächst in einer separaten Detailansicht dargestellt
parent 45f0537e
No related branches found
No related tags found
No related merge requests found
...@@ -100,10 +100,12 @@ DuplicateScannerUtils.GetCachedDuplicatesForContactId = function(pDuplicateId) ...@@ -100,10 +100,12 @@ DuplicateScannerUtils.GetCachedDuplicatesForContactId = function(pDuplicateId)
DuplicateScannerUtils.GetCachedDuplicatesForClusterId = function(pClusterId) DuplicateScannerUtils.GetCachedDuplicatesForClusterId = function(pClusterId)
{ {
let query = "select DUPLICATEID from DUPLICATECLUSTERS" let duplicateIdsOfClusterWithoutUnrelated = SqlCondition.begin()
+ " where CLUSTERID = '"+ pClusterId +"' "; .and("DUPLICATEID not in (select UNRELATEDDUPLICATES.UNRELATEDDUPLICATEID from UNRELATEDDUPLICATES)")
.andIn("DUPLICATECLUSTERS.CLUSTERID", [pClusterId])
return db.array(db.COLUMN, query); .buildSql("select DUPLICATEID from DUPLICATECLUSTERS");
return db.array(db.COLUMN, duplicateIdsOfClusterWithoutUnrelated);
} }
DuplicateScannerUtils.GetCachedDuplicatesForId = function(pClusterRecordId) DuplicateScannerUtils.GetCachedDuplicatesForId = function(pClusterRecordId)
......
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