From dd392abfc1ec196597d006df1457ec62d8dfa17e Mon Sep 17 00:00:00 2001 From: "S.Listl" <S.Listl@SLISTL.aditosoftware.local> Date: Wed, 5 Feb 2020 10:34:16 +0000 Subject: [PATCH] Person filter salutation and title had no values (cherry picked from commit 3978fc6ea5157edbc15745c9f04fdaaecce63507) --- .../salutations/children/language_param/valueProcess.js | 3 ++- .../salutationtitles/children/language_param/valueProcess.js | 3 ++- .../salutationtitles/children/salutation_param/valueProcess.js | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/entity/Person_entity/entityfields/salutations/children/language_param/valueProcess.js b/entity/Person_entity/entityfields/salutations/children/language_param/valueProcess.js index 2cb0f4295d8..3b648cd9acc 100644 --- a/entity/Person_entity/entityfields/salutations/children/language_param/valueProcess.js +++ b/entity/Person_entity/entityfields/salutations/children/language_param/valueProcess.js @@ -1,4 +1,5 @@ import("system.vars"); import("system.result"); -result.string(vars.get("$field.LANGUAGE")) \ No newline at end of file +if (vars.get("$field.LANGUAGE")) + result.string(vars.get("$field.LANGUAGE")); \ No newline at end of file diff --git a/entity/Person_entity/entityfields/salutationtitles/children/language_param/valueProcess.js b/entity/Person_entity/entityfields/salutationtitles/children/language_param/valueProcess.js index 2cb0f4295d8..4aace6a6413 100644 --- a/entity/Person_entity/entityfields/salutationtitles/children/language_param/valueProcess.js +++ b/entity/Person_entity/entityfields/salutationtitles/children/language_param/valueProcess.js @@ -1,4 +1,5 @@ import("system.vars"); import("system.result"); -result.string(vars.get("$field.LANGUAGE")) \ No newline at end of file +if (vars.get("$field.LANGUAGE")) + result.string(vars.get("$field.LANGUAGE")) \ No newline at end of file diff --git a/entity/Person_entity/entityfields/salutationtitles/children/salutation_param/valueProcess.js b/entity/Person_entity/entityfields/salutationtitles/children/salutation_param/valueProcess.js index f098580b1e7..d24ba266458 100644 --- a/entity/Person_entity/entityfields/salutationtitles/children/salutation_param/valueProcess.js +++ b/entity/Person_entity/entityfields/salutationtitles/children/salutation_param/valueProcess.js @@ -1,4 +1,5 @@ import("system.vars"); import("system.result"); -result.string(vars.get("$field.SALUTATION")); \ No newline at end of file +if (vars.get("$field.SALUTATION")) + result.string(vars.get("$field.SALUTATION")); \ No newline at end of file -- GitLab