From 0c26bc50fb0a3fcab360a929d503a3c960bff4f1 Mon Sep 17 00:00:00 2001
From: "j.goderbauer" <j.goderbauer@adito.de>
Date: Thu, 28 Nov 2019 10:56:55 +0100
Subject: [PATCH] ImporterMappingFunction: iDocument used wrong variable for
 the "Keywords" property

---
 process/ImporterMappingFunctions_lib/process.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/process/ImporterMappingFunctions_lib/process.js b/process/ImporterMappingFunctions_lib/process.js
index bf69b6bd91f..e3f610e1807 100644
--- a/process/ImporterMappingFunctions_lib/process.js
+++ b/process/ImporterMappingFunctions_lib/process.js
@@ -438,7 +438,7 @@ function iDocument(pObject)
         var desc = "";
         if(pObject.Description != undefined) desc = this.InputRecord[pObject.Description];
         var keyw = "";
-        if(pObject.Keywords != undefined) desc = this.InputRecord[pObject.Keywords];
+        if(pObject.Keywords != undefined) keyw = this.InputRecord[pObject.Keywords];
 
         if(pObject.Rowid != "" && pObject.Filename != "")
             db.insertBinary(
-- 
GitLab