diff options
Diffstat (limited to 'python/fatcat_tools/transforms')
-rw-r--r-- | python/fatcat_tools/transforms/elasticsearch.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/python/fatcat_tools/transforms/elasticsearch.py b/python/fatcat_tools/transforms/elasticsearch.py index 1c7c2905..96886d7a 100644 --- a/python/fatcat_tools/transforms/elasticsearch.py +++ b/python/fatcat_tools/transforms/elasticsearch.py @@ -456,8 +456,11 @@ def container_to_elasticsearch( "region", "discipline", "publisher_type", + # some containers still have these in "extra" + "issne", + "issnp", ): - if entity.extra.get(key): + if entity.extra.get(key) and not t.get(key): t[key] = entity.extra[key] if entity.extra.get("dblp") and entity.extra["dblp"].get("prefix"): |