Bugzilla – Attachment 128244 Details for
Bug 29627
Map biblioitems.publishercode to 264$b by default (MARC21)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29627: Map biblioitems.publishercode to 264 by default (MARC21)
Bug-29627-Map-biblioitemspublishercode-to-264-by-d.patch (text/plain), 2.18 KB, created by
David Nind
on 2021-12-04 06:06:54 UTC
(
hide
)
Description:
Bug 29627: Map biblioitems.publishercode to 264 by default (MARC21)
Filename:
MIME Type:
Creator:
David Nind
Created:
2021-12-04 06:06:54 UTC
Size:
2.18 KB
patch
obsolete
>From c3c9233be1f57ccdbfcfc809876eef55e7320986 Mon Sep 17 00:00:00 2001 >From: Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> >Date: Thu, 2 Dec 2021 17:54:31 -0500 >Subject: [PATCH] Bug 29627: Map biblioitems.publishercode to 264 by default > (MARC21) > >This patch adds a mapping from 264 to biblioitems.publishercode. > >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.publishercode > - biblioitems.publishercode 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 publishercode >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 publishercode > >I hope I didn't forget anything! :) > >Caroline > >Signed-off-by: David Nind <david@davidnind.com> >--- > .../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..45256388b8 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 >@@ -15792,7 +15792,7 @@ tables: > libopac: "Name of producer, publisher, distributor, manufacturer" > repeatable: 1 > mandatory: 0 >- kohafield: "" >+ kohafield: biblioitems.publishercode > tab: 2 > authorised_value: "" > authtypecode: "" >-- >2.20.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 29627
:
128185
|
128244
|
129975