From b8257a03c2ba6bb8ec5be8d5a8405792ad6da612 Mon Sep 17 00:00:00 2001
From: Simon Leipold <s.leipold@adito.de>
Date: Tue, 23 Mar 2021 10:20:00 +0100
Subject: [PATCH] =?UTF-8?q?[Projekt:=20Entwicklung=20-=20Neon][TicketNr.:?=
 =?UTF-8?q?=201075037][Dokumente:=20Feld=20Keyword=20wird=20mit=20leer=20?=
 =?UTF-8?q?=C3=BCberschrieben]?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 entity/Document_entity/recordcontainers/jdito/onUpdate.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/entity/Document_entity/recordcontainers/jdito/onUpdate.js b/entity/Document_entity/recordcontainers/jdito/onUpdate.js
index a4b360c42e..01cee6c6a7 100644
--- a/entity/Document_entity/recordcontainers/jdito/onUpdate.js
+++ b/entity/Document_entity/recordcontainers/jdito/onUpdate.js
@@ -14,7 +14,7 @@ if (bindata == ''){
     bindata = vars.get("$field.BINDATA_UPLOAD")
 }
 
-var keyword = '';
+var keyword = vars.get("$field.KEYWORD");
 if(vars.get("$field.IS_MAIN_DOCUMENT") == '1') {
     keyword = 'MAINDOCUMENT';
 } 
-- 
GitLab