From 3b1b78955f21ca181c63cfd5c2f8d7fba06cdeef Mon Sep 17 00:00:00 2001 From: Caroline Cyr La Rose Date: Thu, 2 Dec 2021 17:46:39 -0500 Subject: [PATCH] Bug 29626: Map biblioitems.place to 264 by default (MARC21) This patch adds a mapping from 264 to biblioitems.place. 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 biblioitems.place - biblioitems.place should be mapped to 260 as well as 264 6) Create a bibliographic record with a value in 264 - In the database, check the biblioitems entry for this record, the value from 264 should be in place 7) Create a bibliographic record with a value un 260 - In the database, check the biblioitems entry for this record, the value from 260 should be in place I hope I didn't forget anything! :) Caroline Signed-off-by: David Nind Signed-off-by: Katrin Fischer Signed-off-by: Fridolin Somers --- .../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 9f77874a88..e6dfe9a968 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 @@ -15774,7 +15774,7 @@ tables: libopac: "Place of production, publication, distribution, manufacture" repeatable: 1 mandatory: 0 - kohafield: "" + kohafield: biblioitems.place tab: 2 authorised_value: "" authtypecode: "" -- 2.39.5