From c342dbdaadccd6fbff3460af8e6bca94cdb28443 Mon Sep 17 00:00:00 2001 From: Bernardo Gonzalez Kriegel 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 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 @@ Two-character alphabetic code Three-character alphabetic code - IllustrationsUp 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 (#) + Illustrations - code 1Up 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 (#) + No illustrations + Illustrations + Maps + Portraits + Charts + Plans + Plates + Music + Facsimiles + Coats of arms + Genealogical tables + Forms + Samples + Phonodisc, phonowire, etc + Photographs + Illuminations + No attempt to code + + Illustrations - code 2Up 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 (#) + No illustrations + Illustrations + Maps + Portraits + Charts + Plans + Plates + Music + Facsimiles + Coats of arms + Genealogical tables + Forms + Samples + Phonodisc, phonowire, etc + Photographs + Illuminations + No attempt to code + + Illustrations - code 3Up 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 (#) + No illustrations + Illustrations + Maps + Portraits + Charts + Plans + Plates + Music + Facsimiles + Coats of arms + Genealogical tables + Forms + Samples + Phonodisc, phonowire, etc + Photographs + Illuminations + No attempt to code + + Illustrations - code 4Up 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 (#) No illustrations Illustrations Maps @@ -97,7 +154,100 @@ Electronic No attempt to code - Nature of contentsUp 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 (#) + Nature of contents - code 1Up 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 (#) + No specified nature of contents + Offprints + Calendars + Comics/graphic novels + Abstracts/summaries + Bibliographies + Catalogs + Dictionaries + Encyclopedias + Handbooks + Legal articles + Indexes + Patent document + Discographies + Legislation + Theses + Surveys of literature in a subject area + Reviews + Programmed texts + Filmographies + Directories + Statistics + Technical reports + Standars/specifications + Legal cases and case notes + Law reports and digests + Yearbooks + Treaties + No attempt to code + + Nature of contents - code 2Up 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 (#) + No specified nature of contents + Offprints + Calendars + Comics/graphic novels + Abstracts/summaries + Bibliographies + Catalogs + Dictionaries + Encyclopedias + Handbooks + Legal articles + Indexes + Patent document + Discographies + Legislation + Theses + Surveys of literature in a subject area + Reviews + Programmed texts + Filmographies + Directories + Statistics + Technical reports + Standars/specifications + Legal cases and case notes + Law reports and digests + Yearbooks + Treaties + No attempt to code + + Nature of contents - code 3Up 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 (#) + No specified nature of contents + Offprints + Calendars + Comics/graphic novels + Abstracts/summaries + Bibliographies + Catalogs + Dictionaries + Encyclopedias + Handbooks + Legal articles + Indexes + Patent document + Discographies + Legislation + Theses + Surveys of literature in a subject area + Reviews + Programmed texts + Filmographies + Directories + Statistics + Technical reports + Standars/specifications + Legal cases and case notes + Law reports and digests + Yearbooks + Treaties + No attempt to code + + Nature of contents - code 4Up 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 (#) No specified nature of contents Offprints Calendars -- 1.7.7.4