Bugzilla – Attachment 75098 Details for
Bug 20710
Update MARC21 frameworks to Update 26 (April 2018)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20710: Update MARC21 frameworks to Update 26 (April 2018)
Bug-20710-Update-MARC21-frameworks-to-Update-26-Ap.patch (text/plain), 9.01 KB, created by
Bernardo Gonzalez Kriegel
on 2018-05-04 23:43:58 UTC
(
hide
)
Description:
Bug 20710: Update MARC21 frameworks to Update 26 (April 2018)
Filename:
MIME Type:
Creator:
Bernardo Gonzalez Kriegel
Created:
2018-05-04 23:43:58 UTC
Size:
9.01 KB
patch
obsolete
>From 3df6fb30a68760e76d0fa222d514121fc374af4d Mon Sep 17 00:00:00 2001 >From: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> >Date: Fri, 4 May 2018 19:49:07 -0300 >Subject: [PATCH] Bug 20710: Update MARC21 frameworks to Update 26 (April 2018) > >This bug add update 26 changes. > >Update 26 >http://www.loc.gov/marc/bibliographic/bdapndxg.html > >New subfields 377$3, 380$3, 381$3, 383$3, 730$4 > >Codes > Map 007/04 'x' new > Map 007/06 'c' renamed > >No auth changes > >To test: >1) Apply Bug 19835 >2) Apply this patch >3) Reload marc21 bibliografic frameworks, check loads ok >4) Clean your browser cache >5) Edit a new bib record, fire 007 plugin, > for Map, 04 position, check new 'x' > for Map, 06 position, check renamed 'c' >--- > .../mandatory/authorities_normal_marc21.sql | 2 +- > .../mandatory/marc21_framework_DEFAULT.sql | 7 ++++++- > .../value_builder/marc21_field_007.tt | 17 +++++++++++++---- > 3 files changed, 20 insertions(+), 6 deletions(-) > >diff --git a/installer/data/mysql/en/marcflavour/marc21/mandatory/authorities_normal_marc21.sql b/installer/data/mysql/en/marcflavour/marc21/mandatory/authorities_normal_marc21.sql >index b6886b9492..901561904d 100644 >--- a/installer/data/mysql/en/marcflavour/marc21/mandatory/authorities_normal_marc21.sql >+++ b/installer/data/mysql/en/marcflavour/marc21/mandatory/authorities_normal_marc21.sql >@@ -1,7 +1,7 @@ > -- ******************************************************* > -- KOHA MARC 21 STANDARD DEFAULT AUTHORITY FRAMEWORKS > -- >--- Revised to Update No. 25 (December 2017) >+-- Revised to Update No. 26 (April 2018) > -- ******************************************************* > > -- ****************************************************** >diff --git a/installer/data/mysql/en/marcflavour/marc21/mandatory/marc21_framework_DEFAULT.sql b/installer/data/mysql/en/marcflavour/marc21/mandatory/marc21_framework_DEFAULT.sql >index ac00ff7439..4b77adf23c 100644 >--- a/installer/data/mysql/en/marcflavour/marc21/mandatory/marc21_framework_DEFAULT.sql >+++ b/installer/data/mysql/en/marcflavour/marc21/mandatory/marc21_framework_DEFAULT.sql >@@ -7,7 +7,7 @@ > -- guided by Paul POULAIN > -- by thd for LibLime > -- >--- Revised to Update No. 25 (December 2017) >+-- Revised to Update No. 26 (April 2018) > -- ************************************************************* > > >@@ -1486,6 +1486,7 @@ INSERT IGNORE INTO `marc_subfield_structure` (`tagfield`, `tagsubfield`, `liblib > ('377', '0', 'Authority record control number or standard number', 'Authority record control number or standard number', 1, 0, '', 3, '', '', '', NULL, -6, '', '', '', NULL), > ('377', '1', 'Real World Object URI', 'Real World Object URI', 1, 0, '', 3, '', '', '', NULL, -6, '', '', '', NULL), > ('377', '2', 'Source', 'Source', 0, 0, '', 3, '', '', '', NULL, -6, '', '', '', NULL), >+ ('377', '3', 'Materials specified', 'Materials specified', 0, 0, '', 3, '', '', '', NULL, -6, '', '', '', NULL), > ('377', '6', 'Linkage', 'Linkage', 0, 0, '', 3, '', '', '', NULL, -6, '', '', '', NULL), > ('377', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 3, '', '', '', NULL, -6, '', '', '', NULL), > ('377', 'a', 'Language code', 'Language code', 1, 0, '', 3, '', '', '', NULL, -6, '', '', '', NULL), >@@ -1493,12 +1494,14 @@ INSERT IGNORE INTO `marc_subfield_structure` (`tagfield`, `tagsubfield`, `liblib > ('380', '0', 'Authority record control number or standard number', 'Authority record control number or standard number', 1, 0, '', 3, '', '', '', NULL, -6, '', '', '', NULL), > ('380', '1', 'Real World Object URI', 'Real World Object URI', 1, 0, '', 3, '', '', '', NULL, -6, '', '', '', NULL), > ('380', '2', 'Source of term', 'Source of term', 0, 0, '', 3, '', '', '', NULL, -6, '', '', '', NULL), >+ ('380', '3', 'Materials specified', 'Materials specified', 0, 0, '', 3, '', '', '', NULL, -6, '', '', '', NULL), > ('380', '6', 'Linkage', 'Linkage', 0, 0, '', 3, '', '', '', NULL, -6, '', '', '', NULL), > ('380', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 3, '', '', '', NULL, -6, '', '', '', NULL), > ('380', 'a', 'Form of work', 'Form of work', 1, 0, '', 3, '', '', '', NULL, -6, '', '', '', NULL), > ('381', '0', 'Authority record control number or standard number', 'Authority record control number or standard number', 1, 0, '', 3, '', '', '', NULL, -6, '', '', '', NULL), > ('381', '1', 'Real World Object URI', 'Real World Object URI', 1, 0, '', 3, '', '', '', NULL, -6, '', '', '', NULL), > ('381', '2', 'Source of term', 'Source of term', 0, 0, '', 3, '', '', '', NULL, -6, '', '', '', NULL), >+ ('381', '3', 'Materials specified', 'Materials specified', 0, 0, '', 3, '', '', '', NULL, -6, '', '', '', NULL), > ('381', '6', 'Linkage', 'Linkage', 0, 0, '', 3, '', '', '', NULL, -6, '', '', '', NULL), > ('381', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 3, '', '', '', NULL, -6, '', '', '', NULL), > ('381', 'a', 'Other distinguishing characteristic', 'Other distinguishing characteristic', 1, 0, '', 3, '', '', '', NULL, -6, '', '', '', NULL), >@@ -1522,6 +1525,7 @@ INSERT IGNORE INTO `marc_subfield_structure` (`tagfield`, `tagsubfield`, `liblib > ('382', 'v', 'Note', 'Note', 1, 0, '', 3, '', '', '', NULL, -6, '', '', '', NULL), > ('383', '2', 'Source', 'Source', 0, 0, '', 3, '', '', '', NULL, -6, '', '', '', NULL), > ('383', '6', 'Linkage', 'Linkage', 0, 0, '', 3, '', '', '', NULL, -6, '', '', '', NULL), >+ ('383', '3', 'Materials specified', 'Materials specified', 0, 0, '', 3, '', '', '', NULL, -6, '', '', '', NULL), > ('383', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 3, '', '', '', NULL, -6, '', '', '', NULL), > ('383', 'a', 'Serial number', 'Serial number', 1, 0, '', 3, '', '', '', NULL, -6, '', '', '', NULL), > ('383', 'b', 'Opus number', 'Opus number', 1, 0, '', 3, '', '', '', NULL, -6, '', '', '', NULL), >@@ -2578,6 +2582,7 @@ INSERT IGNORE INTO `marc_subfield_structure` (`tagfield`, `tagsubfield`, `liblib > ('730', '0', 'Authority record control number or standard number', 'Authority record control number or standard number', 1, 0, '', 7, '', '', '', NULL, -6, '', '', '', NULL), > ('730', '1', 'Real World Object URI', 'Real World Object URI', 1, 0, '', 7, '', '', '', NULL, -6, '', '', '', NULL), > ('730', '3', 'Materials specified', 'Materials specified', 0, 0, '', 7, '', '', '', NULL, -6, '', '', '', NULL), >+ ('730', '4', 'Relationship', 'Relationship', 1, 0, '', 7, '', '', '', NULL, -6, '', '', '', NULL), > ('730', '5', 'Institution to which field applies', 'Institution to which field applies', 0, 0, '', 7, '', '', '', NULL, -6, '', '', '', NULL), > ('730', '6', 'Linkage', 'Linkage', 0, 0, '', 7, '', '', '', NULL, -6, '', '', '', NULL), > ('730', '8', 'Field link and sequence number', 'Field link and sequence number', 1, 0, '', 7, '', '', '', NULL, -6, '', '', '', NULL), >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_007.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_007.tt >index 2d2675a426..d4953d4054 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_007.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_007.tt >@@ -472,7 +472,16 @@ > _("w- Parchment") + > '</option> \ > [% END %] \ >- [% IF ( f4y ) %] \ >+ [% IF ( f4x ) %] \ >+ <option value="x" selected="selected">' + >+ _("x- Not applicable") + >+ '</option> \ >+ [% ELSE %] \ >+ <option value="x">' + >+ _("x- Not applicable") + >+ '</option> \ >+ [% END %] \ >+ [% IF ( f4y ) %] \ > <option value="y" selected="selected">' + > _("y- Other photographic medium") + > '</option> \ >@@ -582,11 +591,11 @@ > [% END %] \ > [% IF ( f6c ) %] \ > <option value="c" selected="selected">' + >- _("c- Pre-production") + >+ _("c- Photographic pre-production") + > '</option> \ > [% ELSE %] \ > <option value="c">' + >- _("c- Pre-production") + >+ _("c- Photographic pre-production") + > '</option> \ > [% END %] \ > [% IF ( f6d ) %] \ >@@ -9594,4 +9603,4 @@ > </script> > [% END %] > >-[% INCLUDE 'intranet-bottom.inc' popup_window=1 %] >\ No newline at end of file >+[% INCLUDE 'intranet-bottom.inc' popup_window=1 %] >-- >2.17.0
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 20710
:
75097
|
75098
|
75244
|
75769