Skip to content

Commit 68d09ed

Browse files
committed
OpenConceptLab/ocl_issues#935 | Parallel Importer | Mapping Importer to consider id (mnemonic) attribute for exists check
1 parent 0bcd54c commit 68d09ed

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

core/importers/models.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -435,6 +435,8 @@ def get_queryset(self):
435435
'map_type': self.get('map_type'),
436436
'from_concept__uri__icontains': drop_version(from_concept_url),
437437
}
438+
if self.get('id'):
439+
filters['mnemonic'] = self.get('id')
438440
if to_concept_url:
439441
filters['to_concept__uri__icontains'] = drop_version(to_concept_url)
440442
if to_concept_code and to_source_url:

0 commit comments

Comments
 (0)