From 50c236b272fc4a423688c33e41ca7530f874117a Mon Sep 17 00:00:00 2001 From: Caroline Cyr La Rose Date: Fri, 3 Dec 2021 10:13:12 -0500 Subject: [PATCH] Bug 29634: Map biblio.medium to 245 by default (MARC21) This patch adds a mapping from 245 to biblio.medium. To test: 1) Apply patch 2) Delete existing frameworks - In the database delete from marc_tag_structure; delete from marc_subfield_structure; delete from biblio_framework; 3) Load default framework - In a terminal, run ./misc/load_yaml.pl -f installer/data/mysql/en/marcflavour/marc21/mandatory/marc21_framework_DEFAULT.yml --load 4) In the staff interface, go to Administration > MARC bibliographic framework - Make sure the default framework is there 5) In Administration > Koha to MARC mapping, check the mappings for biblio.medium - biblio.medium should be mapped to 245 6) Create a bibliographic record with a value in 245 - In the database, check the biblio entry for this record, the value from 245 should be in medium I hope I didn't forget anything! :) Caroline --- .../marcflavour/marc21/mandatory/marc21_framework_DEFAULT.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 63214f06b3..0e5c076d4c 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 @@ -13974,7 +13974,7 @@ tables: libopac: "Medium" repeatable: 0 mandatory: 0 - kohafield: "" + kohafield: biblio.medium tab: 2 authorised_value: "" authtypecode: "" -- 2.17.1