Bugzilla – Attachment 18057 Details for
Bug 10141
Enable "18-21 Illustrations" and "24-27 Nature of contents" options for marc21_field_008.pl plugin
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED OFF] Bug 10141 - Enable "18-21 Illustrations" and "24-27 Nature of contents" options for marc21_field_008.pl plugin
Bug-10141---Enable-18-21-Illustrations-and-24-27-N.patch (text/plain), 15.38 KB, created by
David Cook
on 2013-05-10 07:29:47 UTC
(
hide
)
Description:
[SIGNED OFF] Bug 10141 - Enable "18-21 Illustrations" and "24-27 Nature of contents" options for marc21_field_008.pl plugin
Filename:
MIME Type:
Creator:
David Cook
Created:
2013-05-10 07:29:47 UTC
Size:
15.38 KB
patch
obsolete
>From c342dbdaadccd6fbff3460af8e6bca94cdb28443 Mon Sep 17 00:00:00 2001 >From: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> >Date: Thu, 2 May 2013 08:13:05 -0300 >Subject: [PATCH] Bug 10141 - Enable "18-21 Illustrations" and "24-27 Nature > of contents" options for marc21_field_008.pl plugin > >Easy workaround > >This patch expands both options, Illustrations and Nature of.., >so each position could be filled independently. > >To test: >1) edit or add a new recod >2) click on field 008 value builder, positions 18-21 and 24-27 only >show an input text box >3) apply the patch >4) reload value_builder page, now each position (18-21,24-27) has >it's own pulldown. > >A similar fix could be used in a similar problem in 006 value builder. > >Signed-off-by: David Cook <dcook@prosentient.com.au> > >I struggled with this test plan at first (until I cleared my memcache), >but it works as described. Thanks, Bernardo! >--- > .../cataloguing/value_builder/marc21_field_008.xml | 154 +++++++++++++++++++- > 1 files changed, 152 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_008.xml b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_008.xml >index ec3328a..9da53fb 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_008.xml >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_008.xml >@@ -53,7 +53,64 @@ > <Value code="[aa#]"><description>Two-character alphabetic code</description></Value> > <Value code="[aaa]"><description>Three-character alphabetic code</description></Value> > </Position> >- <Position pos="18-21"><name>Illustrations</name><description>Up to four (4) one-character alphabetic codes (recorded in alphabetical order) that indicate the presence of types of illustrations in the item. If fewer than four alphabetic codes are assigned, the codes are left justified and unused positions contain blanks (#)</description> >+ <Position pos="18"><name>Illustrations - code 1</name><description>Up to four (4) one-character alphabetic codes (recorded in alphabetical order) that indicate the presence of types of illustrations in the item. If fewer than four alphabetic codes are assigned, the codes are left justified and unused positions contain blanks (#)</description> >+ <Value code="#"><description>No illustrations</description></Value> >+ <Value code="a"><description>Illustrations</description></Value> >+ <Value code="b"><description>Maps</description></Value> >+ <Value code="c"><description>Portraits</description></Value> >+ <Value code="d"><description>Charts</description></Value> >+ <Value code="e"><description>Plans</description></Value> >+ <Value code="f"><description>Plates</description></Value> >+ <Value code="g"><description>Music</description></Value> >+ <Value code="h"><description>Facsimiles</description></Value> >+ <Value code="i"><description>Coats of arms</description></Value> >+ <Value code="j"><description>Genealogical tables</description></Value> >+ <Value code="k"><description>Forms</description></Value> >+ <Value code="l"><description>Samples</description></Value> >+ <Value code="m"><description>Phonodisc, phonowire, etc</description></Value> >+ <Value code="o"><description>Photographs</description></Value> >+ <Value code="p"><description>Illuminations</description></Value> >+ <Value code="|"><description>No attempt to code</description></Value> >+ </Position> >+ <Position pos="19"><name>Illustrations - code 2</name><description>Up to four (4) one-character alphabetic codes (recorded in alphabetical order) that indicate the presence of types of illustrations in the item. If fewer than four alphabetic codes are assigned, the codes are left justified and unused positions contain blanks (#)</description> >+ <Value code="#"><description>No illustrations</description></Value> >+ <Value code="a"><description>Illustrations</description></Value> >+ <Value code="b"><description>Maps</description></Value> >+ <Value code="c"><description>Portraits</description></Value> >+ <Value code="d"><description>Charts</description></Value> >+ <Value code="e"><description>Plans</description></Value> >+ <Value code="f"><description>Plates</description></Value> >+ <Value code="g"><description>Music</description></Value> >+ <Value code="h"><description>Facsimiles</description></Value> >+ <Value code="i"><description>Coats of arms</description></Value> >+ <Value code="j"><description>Genealogical tables</description></Value> >+ <Value code="k"><description>Forms</description></Value> >+ <Value code="l"><description>Samples</description></Value> >+ <Value code="m"><description>Phonodisc, phonowire, etc</description></Value> >+ <Value code="o"><description>Photographs</description></Value> >+ <Value code="p"><description>Illuminations</description></Value> >+ <Value code="|"><description>No attempt to code</description></Value> >+ </Position> >+ <Position pos="20"><name>Illustrations - code 3</name><description>Up to four (4) one-character alphabetic codes (recorded in alphabetical order) that indicate the presence of types of illustrations in the item. If fewer than four alphabetic codes are assigned, the codes are left justified and unused positions contain blanks (#)</description> >+ <Value code="#"><description>No illustrations</description></Value> >+ <Value code="a"><description>Illustrations</description></Value> >+ <Value code="b"><description>Maps</description></Value> >+ <Value code="c"><description>Portraits</description></Value> >+ <Value code="d"><description>Charts</description></Value> >+ <Value code="e"><description>Plans</description></Value> >+ <Value code="f"><description>Plates</description></Value> >+ <Value code="g"><description>Music</description></Value> >+ <Value code="h"><description>Facsimiles</description></Value> >+ <Value code="i"><description>Coats of arms</description></Value> >+ <Value code="j"><description>Genealogical tables</description></Value> >+ <Value code="k"><description>Forms</description></Value> >+ <Value code="l"><description>Samples</description></Value> >+ <Value code="m"><description>Phonodisc, phonowire, etc</description></Value> >+ <Value code="o"><description>Photographs</description></Value> >+ <Value code="p"><description>Illuminations</description></Value> >+ <Value code="|"><description>No attempt to code</description></Value> >+ </Position> >+ <Position pos="21"><name>Illustrations - code 4</name><description>Up to four (4) one-character alphabetic codes (recorded in alphabetical order) that indicate the presence of types of illustrations in the item. If fewer than four alphabetic codes are assigned, the codes are left justified and unused positions contain blanks (#)</description> > <Value code="#"><description>No illustrations</description></Value> > <Value code="a"><description>Illustrations</description></Value> > <Value code="b"><description>Maps</description></Value> >@@ -97,7 +154,100 @@ > <Value code="s"><description>Electronic</description></Value> > <Value code="|"><description>No attempt to code</description></Value> > </Position> >- <Position pos="24-27"><name>Nature of contents</name><description>Up to four one-character codes that indicate whether a significant part of the item is or contains certain types of material. If fewer than four codes are assigned, the codes are left justified and unused positions contain blanks (#)</description> >+ <Position pos="24"><name>Nature of contents - code 1</name><description>Up to four one-character codes that indicate whether a significant part of the item is or contains certain types of material. If fewer than four codes are assigned, the codes are left justified and unused positions contain blanks (#)</description> >+ <Value code="#"><description>No specified nature of contents</description></Value> >+ <Value code="2"><description>Offprints</description></Value> >+ <Value code="5"><description>Calendars</description></Value> >+ <Value code="6"><description>Comics/graphic novels</description></Value> >+ <Value code="a"><description>Abstracts/summaries</description></Value> >+ <Value code="b"><description>Bibliographies</description></Value> >+ <Value code="c"><description>Catalogs</description></Value> >+ <Value code="d"><description>Dictionaries</description></Value> >+ <Value code="e"><description>Encyclopedias</description></Value> >+ <Value code="f"><description>Handbooks</description></Value> >+ <Value code="g"><description>Legal articles</description></Value> >+ <Value code="i"><description>Indexes</description></Value> >+ <Value code="j"><description>Patent document</description></Value> >+ <Value code="k"><description>Discographies</description></Value> >+ <Value code="l"><description>Legislation</description></Value> >+ <Value code="m"><description>Theses</description></Value> >+ <Value code="n"><description>Surveys of literature in a subject area</description></Value> >+ <Value code="o"><description>Reviews</description></Value> >+ <Value code="p"><description>Programmed texts</description></Value> >+ <Value code="q"><description>Filmographies</description></Value> >+ <Value code="r"><description>Directories</description></Value> >+ <Value code="s"><description>Statistics</description></Value> >+ <Value code="t"><description>Technical reports</description></Value> >+ <Value code="u"><description>Standars/specifications</description></Value> >+ <Value code="v"><description>Legal cases and case notes</description></Value> >+ <Value code="w"><description>Law reports and digests</description></Value> >+ <Value code="y"><description>Yearbooks</description></Value> >+ <Value code="z"><description>Treaties</description></Value> >+ <Value code="|"><description>No attempt to code</description></Value> >+ </Position> >+ <Position pos="25"><name>Nature of contents - code 2</name><description>Up to four one-character codes that indicate whether a significant part of the item is or contains certain types of material. If fewer than four codes are assigned, the codes are left justified and unused positions contain blanks (#)</description> >+ <Value code="#"><description>No specified nature of contents</description></Value> >+ <Value code="2"><description>Offprints</description></Value> >+ <Value code="5"><description>Calendars</description></Value> >+ <Value code="6"><description>Comics/graphic novels</description></Value> >+ <Value code="a"><description>Abstracts/summaries</description></Value> >+ <Value code="b"><description>Bibliographies</description></Value> >+ <Value code="c"><description>Catalogs</description></Value> >+ <Value code="d"><description>Dictionaries</description></Value> >+ <Value code="e"><description>Encyclopedias</description></Value> >+ <Value code="f"><description>Handbooks</description></Value> >+ <Value code="g"><description>Legal articles</description></Value> >+ <Value code="i"><description>Indexes</description></Value> >+ <Value code="j"><description>Patent document</description></Value> >+ <Value code="k"><description>Discographies</description></Value> >+ <Value code="l"><description>Legislation</description></Value> >+ <Value code="m"><description>Theses</description></Value> >+ <Value code="n"><description>Surveys of literature in a subject area</description></Value> >+ <Value code="o"><description>Reviews</description></Value> >+ <Value code="p"><description>Programmed texts</description></Value> >+ <Value code="q"><description>Filmographies</description></Value> >+ <Value code="r"><description>Directories</description></Value> >+ <Value code="s"><description>Statistics</description></Value> >+ <Value code="t"><description>Technical reports</description></Value> >+ <Value code="u"><description>Standars/specifications</description></Value> >+ <Value code="v"><description>Legal cases and case notes</description></Value> >+ <Value code="w"><description>Law reports and digests</description></Value> >+ <Value code="y"><description>Yearbooks</description></Value> >+ <Value code="z"><description>Treaties</description></Value> >+ <Value code="|"><description>No attempt to code</description></Value> >+ </Position> >+ <Position pos="26"><name>Nature of contents - code 3</name><description>Up to four one-character codes that indicate whether a significant part of the item is or contains certain types of material. If fewer than four codes are assigned, the codes are left justified and unused positions contain blanks (#)</description> >+ <Value code="#"><description>No specified nature of contents</description></Value> >+ <Value code="2"><description>Offprints</description></Value> >+ <Value code="5"><description>Calendars</description></Value> >+ <Value code="6"><description>Comics/graphic novels</description></Value> >+ <Value code="a"><description>Abstracts/summaries</description></Value> >+ <Value code="b"><description>Bibliographies</description></Value> >+ <Value code="c"><description>Catalogs</description></Value> >+ <Value code="d"><description>Dictionaries</description></Value> >+ <Value code="e"><description>Encyclopedias</description></Value> >+ <Value code="f"><description>Handbooks</description></Value> >+ <Value code="g"><description>Legal articles</description></Value> >+ <Value code="i"><description>Indexes</description></Value> >+ <Value code="j"><description>Patent document</description></Value> >+ <Value code="k"><description>Discographies</description></Value> >+ <Value code="l"><description>Legislation</description></Value> >+ <Value code="m"><description>Theses</description></Value> >+ <Value code="n"><description>Surveys of literature in a subject area</description></Value> >+ <Value code="o"><description>Reviews</description></Value> >+ <Value code="p"><description>Programmed texts</description></Value> >+ <Value code="q"><description>Filmographies</description></Value> >+ <Value code="r"><description>Directories</description></Value> >+ <Value code="s"><description>Statistics</description></Value> >+ <Value code="t"><description>Technical reports</description></Value> >+ <Value code="u"><description>Standars/specifications</description></Value> >+ <Value code="v"><description>Legal cases and case notes</description></Value> >+ <Value code="w"><description>Law reports and digests</description></Value> >+ <Value code="y"><description>Yearbooks</description></Value> >+ <Value code="z"><description>Treaties</description></Value> >+ <Value code="|"><description>No attempt to code</description></Value> >+ </Position> >+ <Position pos="27"><name>Nature of contents - code 4</name><description>Up to four one-character codes that indicate whether a significant part of the item is or contains certain types of material. If fewer than four codes are assigned, the codes are left justified and unused positions contain blanks (#)</description> > <Value code="#"><description>No specified nature of contents</description></Value> > <Value code="2"><description>Offprints</description></Value> > <Value code="5"><description>Calendars</description></Value> >-- >1.7.7.4
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 10141
:
17875
|
17876
|
17891
|
18057
|
19033
|
19034