From 5bf03017ac262aaf841356d48658a90e7e823105 Mon Sep 17 00:00:00 2001 From: Caroline Cyr La Rose Date: Wed, 3 Mar 2021 14:12:34 -0500 Subject: [PATCH] Bug 27852: Link YES_NO authorized value category to 942dev in Default framework This patch add the YES_NO authorised value category to 942dev in the Default framework and sets the default value to 0 (No). To test: 1) Load the yaml file 1) Load the yaml file (I used the load_yaml.pl script after deleting the values from my database) 2) Go to cataloging and open an empty cataloging form using the Default framework 2) Go to 942dev: the value should read No and there should be a drop down choice between Yes and No Signed-off-by: David Nind Signed-off-by: Katrin Fischer Signed-off-by: Jonathan Druart (cherry picked from commit 3ae4f91f3b60845751eb17d323fb1798a559823e) Signed-off-by: Fridolin Somers --- .../marcflavour/marc21/mandatory/marc21_framework_DEFAULT.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/installer/data/mysql/en/marcflavour/marc21/mandatory/marc21_framework_DEFAULT.yml b/installer/data/mysql/en/marcflavour/marc21/mandatory/marc21_framework_DEFAULT.yml index 8d61a60534..63214f06b3 100644 --- a/installer/data/mysql/en/marcflavour/marc21/mandatory/marc21_framework_DEFAULT.yml +++ b/installer/data/mysql/en/marcflavour/marc21/mandatory/marc21_framework_DEFAULT.yml @@ -320,7 +320,7 @@ tables: mandatory: 0 kohafield: tab: 9 - authorised_value: "" + authorised_value: YES_NO authtypecode: "" value_builder: "" isurl: 0 @@ -328,7 +328,7 @@ tables: frameworkcode: "" seealso: "" link: "" - defaultvalue: + defaultvalue: 0 - tagfield: "942" tagsubfield: "s" -- 2.39.5