Bugzilla – Attachment 21945 Details for
Bug 8252
Error in DOM biblio for UNIMARC (no range for fields 1xx)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 8252: Fix indexing of UNIMARC 1xx for GRS-1
Bug-8252-Fix-indexing-of-UNIMARC-1xx-for-GRS-1.patch (text/plain), 48.54 KB, created by
Jonathan Druart
on 2013-10-10 13:30:27 UTC
(
hide
)
Description:
Bug 8252: Fix indexing of UNIMARC 1xx for GRS-1
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2013-10-10 13:30:27 UTC
Size:
48.54 KB
patch
obsolete
>From 1692cb297e92ef63ea946b214e53151497605ac4 Mon Sep 17 00:00:00 2001 >From: Mathieu Saby <mathieu.saby@univ-rennes2.fr> >Date: Fri, 1 Feb 2013 14:52:05 +0100 >Subject: [PATCH] Bug 8252: Fix indexing of UNIMARC 1xx for GRS-1 > >Before fixing UNIMARC DOM indexing, we must fix GRS-1 indexing > >1) In advanced search, some Coded fields index are not working : Print, Illustration, Content >2) Country-heading index is not working >3) Some subfields are indexed in wrong indexes : >102$a should be in Country-publication instead of Country-heading (non defined in bib1.att) >106$a, filled only for printed works, should be in ff88-23 (form of item) instead of itype >(ff88-23 is made for Marc21 008 pos 23, which contains the same data as 106a) >200$b should be in Material-type instead of (or in addition to) itype and itemtype >(Material-type :"free-form string, ... that describes the material type of the item, e.g., cassette, kit, computer database, computer file.") >100$a pos 22-24 should not be indexed as "ln" : it is the language of the record, not the language of the ressource >4) Index names are too long : if we index new positions of coded fields, with existing names it breaks zebra indexing (there must be a limit in line lenghth in record.abs?) >5) There are a lot of warns when rebuiding zebra. > >This patch make some changes in bib1.att (could be used later to improve search) : >- fixing wording for att 51 and 1012 >- adding comments for attributes based on MARC21 008 field (8800-8841) >- creating 8806 (tpubdate), 8838 (Modified-code), 8818 (ff8-18), 8840 (ff8-18-21), 8819 (ff8-19), 8821 (ff8-21), 8828 (ff8-28), 8830 (ff8-30), 8831 (ff8-31) >- creating attributes specific to UNIMARC : 9701-9707 (Video-mt, Graphics-type, Graphics-support, Title-page-availability, Cumulative-index-availability, script-Title, char-encoding) >- setting apart 3 blocks of attributes, so it could be easy to make further changes : >-- common to Marc21 and UNIMARC : 8806, 8822, 8838 >-- slightly different in Marc21 and UNIMARC (different meanings according to the type of the record => don't match a single UNIMARC field) >-- specific to UNIMARC : 9701-9707 > >in ccl.properties : >- creating a new index: Country-publication 1=1053 >- suppressing some warns by mapping with bib1 att: Date-time-last-modified, Name, rtype, Music-number >- defining indexes using the 3 blocks attributes defined in bib1 (common to Marc21 and UNIMARC, slightly different, specific to UNIMARC) > >in record.abs : >- renaming some index for 100-105-110 fields >- correcting indexing of 102$a (country of publication) > 106$a (ff88-23) > 100$a pos 22-24 (language of record, no more indexed) > 105$a pos. 0-3 (illustration code) > 200$b (for the moment, I keep it indexed in itype and itemtype, but also Material-Type) > >in C4/Search.pm : >- adding "Country-publication" index > >in opac and staff interface template subtypes_unimarc.in : >- renaming indexes to take into account the changes made to Zebra config files > >To test (this cannot be done with a sandbox) : >1) apply the patch in a UNIMARC GRS-1 Koha instance >2) copy the following files from the etc/zebradb of your source directory into the etc/zebradb of your main Koha directory : >-- etc/zebradb/biblios/etc/bib1.att >-- etc/zebradb/ccl.properties >-- etc/zebradb/marc_defs/unimarc/biblios/record.abs >3) reindex your data (rebuild_zebra -x -b -r -v) >4) try to use those Coded fields indexes in Advanced search, in OPAC and Staff interface (available after clicking on "More options", then on "Coded information filters"): >Audience, Print, Literary genre, Biography, Illustration, Content, Video Types, Serials, Serial Type, Periodicity, Regularity >5) try to search "Country-publication=FR" in simple search > >Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> >No koha-qa errors. > >Tests for GRS-1 >Followed test plan >Search by coded fields works, but only on OPAC, >on staff there are few options >Search by Country-publication works after patch > >Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> >--- > C4/Search.pm | 1 + > etc/zebradb/biblios/etc/bib1.att | 63 ++++++-- > etc/zebradb/ccl.properties | 157 ++++++++++++------ > etc/zebradb/marc_defs/unimarc/biblios/record.abs | 76 +++++---- > .../prog/en/includes/subtypes_unimarc.inc | 160 +++++++++---------- > .../prog/en/includes/subtypes_unimarc.inc | 166 ++++++++++---------- > 6 files changed, 375 insertions(+), 248 deletions(-) > >diff --git a/C4/Search.pm b/C4/Search.pm >index 0453b91..04e4918 100644 >--- a/C4/Search.pm >+++ b/C4/Search.pm >@@ -956,6 +956,7 @@ sub getIndexes{ > 'Corporate-name-heading', > 'Corporate-name-see', > 'Corporate-name-seealso', >+ 'Country-publication', > 'ctype', > 'date-entered-on-file', > 'Date-of-acquisition', >diff --git a/etc/zebradb/biblios/etc/bib1.att b/etc/zebradb/biblios/etc/bib1.att >index b2c38c4..1a47682 100644 >--- a/etc/zebradb/biblios/etc/bib1.att >+++ b/etc/zebradb/biblios/etc/bib1.att >@@ -53,7 +53,7 @@ att 47 Subject-subdivision > att 48 Number-natl-biblio > att 49 Number-legal-deposit > att 50 Number-govt-pub >-att 51 Number-music-publisher >+att 51 Music-number > att 52 Number-db > att 53 Number-local-call > att 54 ln >@@ -80,7 +80,7 @@ att 1008 Subject-LC-childrens > att 1009 Subject-name-personal > att 1010 Body-of-text > att 1011 date-entered-on-file >-att 1012 Date/time-last-modified >+att 1012 Date-time-last-modified > att 1013 Authority/format-id > att 1014 Concept-text > att 1015 Concept-reference >@@ -262,24 +262,65 @@ att 8911 Host-Item-Number > att 9905 llength > att 9902 Summary > att 9990 Call-Number >-# Usually Target Audience 008/22 >+ >+## Codes for some Marc21 fields (008, 007, 040...) >+## 8800-8841, 8700-8703, 8740, 9900-9904, 9913, 9658 >+ >+# positions of Marc21 008 (1 byte) >+# construction : 88+XX where XX is a position (00 to 39) >+# : 88+4X for multi-position index (ex : 8840 = ff8-18-21) >+# naming scheme : sometime ff8-XX, sometime a name in english (tpubdate, audience, Modified-code, lf, bio) >+ >+# Indexes common to Marc21 and UNIMARC : >+# Marc21 008/06 : Type of publication date (see UNIMARC 100/08) >+att 8806 tpubdate >+# Marc21 008/22 : Target Audience (see UNIMARC 100/17-19) > att 8822 ta >-# Usually Form of item 008/23 >+# Marc21 008/38 : Modified Record code (see UNIMARC : 100/21) >+att 8838 Modified-code >+ >+# Indexes slightly different in Marc21 and UNIMARC (different meanings according to the type of the record => don't match a single UNIMARC field) >+# Marc21 008/18 : For Serials, frequency (see UNIMARC 110/1). For Books, Illustrations (see UNIMARC 100/0-3). For Maps, relief. For Music, Form of Composition. For Visual Materials, Running time. >+att 8818 ff8-18 >+# Marc21 008/18-21 : For Books, Illustrations (see UNIMARC 100/0-3). For Maps, relief. For Music (18-19), Form of Composition. For Visual Materials (18-20), Running time. For Serials (18), frequency >+att 8840 ff8-18-21 >+# Marc21 008/24-27 : For Books, Nature of contents (see UNIMARC 105/4-7), for and Serials (24 only), Nature of contents (see UNIMARC 110/3). For Computer Files (26 only), type of file. For Music, Accompanying matter. For Maps (25 only), type of cartographic material >+# att 8841 ff8-24-27 >+# use ctype for 008/24-27 >+# Marc21 008/19 : For Serials, Regularity (see UNIMARC 110/2). For Music, Form of composition. For Books, illustrations. For Visual Materials, Running time >+att 8819 ff8-19 >+# Marc21 008/21 : For Serials, Type of serial (see UNIMARC 110/0). For Music, Music parts. For Maps, relief >+att 8821 ff8-21 >+# Marc21 008/23 : For Books, Serials, Music, Mixed Materials, Computer files, Form of Item (see UNIMARC 106$a). For Maps, Projection > att 8823 ff8-23 >-# Usually Nature of contents 008/24-27 >-att 8824 ff8-24-27 >-# Usually Content-type, also Form of item for maps 008/29 >+# Marc21 008/28 : Government publication (see UNIMARC 100/20). except for Music, Accompanying matter >+att 8828 ff8-28 >+# Marc21 008/29 : For Books and Serials, Conference code (see UNIMARC 105/8 and 110/7). For Maps and Visual Materials, Form of item > att 8829 ff8-29 >-# Usually Literary Form 008/33 >+# Marc21 008/30 : For Books, Festchrift indicator (see UNIMARC 105/9). For Music, Literary text for sound recordings >+att 8830 ff8-30 >+# Marc21 008/31 : For Books and Maps, Index indicator (see UNIMARC 105/10). For Music, Literary text for sound recordings >+att 8831 ff8-31 >+# Marc21 008/33 : For Books, Literary form (see UNIMARC : 105/11). For Serials, Script of title (see UNIMARC 100/34-35). For Music, Transposition and arrangement. For Visual Materials, Type of visual materials. For Maps, Special format characteristics > att 8833 lf >-#att 8833 ff8-33 >-# Usually Biography, also Special format characteristics for maps 008/34 >+# Marc21 008/34 : For Books, Biography (see UNIMARC 105/12). For Maps, Special format characteristics. For Serials, Entry convention. For Visual Materials, Technique. > att 8834 bio >-#att 8834 ff8-34 >+ >+## positions of Marc21 007 (1 byte) > att 8700 ff7-00 > att 8701 ff7-01 > att 8702 ff7-02 > att 8703 ff7-01-02 >+ >+# Unimarc only >+att 9701 Video-mt >+att 9702 Graphics-type >+att 9703 Graphics-support >+att 9704 Title-page-availability >+att 9705 Cumulative-index-availability >+att 9706 script-Title >+att 9707 char-encoding >+ > # Author-personal-bibliography - lastname,firstname in 100$a > att 9900 Author-personal-bibliography > # Author-in-order - firstname lastname in 245$c statement of responsibility >diff --git a/etc/zebradb/ccl.properties b/etc/zebradb/ccl.properties >index a5de010..6f5a508 100644 >--- a/etc/zebradb/ccl.properties >+++ b/etc/zebradb/ccl.properties >@@ -270,10 +270,10 @@ ln language > # characteristics and defines > # the components of the record. > # The codes are target-specific. >-Record-type 1=1001 >-rtype Record-type >-mc-rtype Record-type >-mus Record-type >+rtype 1=1001 >+Record-type rtype >+mc-rtype rtype >+mus rtype > > #Concept-reference 1015 Used within Z39.50-1988; > # included here for historical >@@ -350,7 +350,7 @@ acqdate Date-of-acquisition > > #Date/time last 1012 The date and time a record 005 > #modified was last updated. >-#Date-time-last-modified 1=1012 >+Date-time-last-modified 1=1012 > > #Identifier-- 1013 Used in full-text searching > #authority/format to indicate to the target >@@ -389,6 +389,7 @@ acqdate Date-of-acquisition > # ISO 2108. > ISBN 1=7 > nb ISBN >+isbn ISBN > > #Identifier-ISSN 8 International Standard Serial 022, 4XX$x, > # Number -- internationally 7XX$x >@@ -398,6 +399,7 @@ nb ISBN > # ISO 3297. > ISSN 1=8 > ns ISSN >+issn ISSN > > #Identifier-legal- 49 The copyright registration 017 > #deposit number that is assigned to >@@ -418,7 +420,9 @@ ns ISSN > #Identifier-publisher- 51 A formatted number assigned 028 > #for-music by a publisher to a sound > # recording or to printed music. >-#Number-music-publisher 1=51 >+Music-number 1=51 >+Number-music-publisher Music-number >+music Music-number > > #Identifier-report 1027 A report number assigned to 027, 088 > # the item. This number could be >@@ -435,15 +439,14 @@ ns ISSN > # are indexed together in many 030, 035, 037 > # online public-access catalogs. > #Identifier-standard 1=1007 4=6 >-# >-#Identifier-stock 1028 A stock number that could be 037 >-# used for ordering the item. > Identifier-standard 1=1007 4=6 > ident Identifier-standard > upc 1=UPC > ean 1=EAN >-music 1=Music-number > >+# >+#Identifier-stock 1028 A stock number that could be 037 >+# used for ordering the item. > Stock-number 1=1028 > > #Identifier-thematic 1030 The numeric designation for a $n in the following: >@@ -475,7 +478,8 @@ Material-type 1=1031 > # body, conference, or meeting. 410, 411, 600, 610, > # (Subject name headings are 611, 700, 710, 711, > # included.) 800, 810, 811 >-#Name 1=1002 >+Name 1=1002 >+name Name > > #Name-and-title 57 The name of a person, corporate 100/2XX, 110/2XX, > # body, conference, or meeting, 111/2XX, subfields >@@ -536,6 +540,16 @@ Term-genre-form-seealso 1=Term-genre-form-seealso > Place-publication 1=59 > pl Place-publication > >+#Country-publication 1053 The country code or the 008/15-17 >+# country name of the country UNIMARC 102$a >+# where the document has been >+# published. Entries are made >+# according to ISO 3166. As >+# country code a 2-digit letter >+# code is used, as country name >+# the English country name. >+Country-publication 1=1053 >+ > #Name-personal 1 A person's real name, 100, 400, 600, 700, > # pseudonym, title of nobility 800 > # nickname, or initials. >@@ -559,6 +573,7 @@ pb Publisher > # or contents may be recorded. > Note 1=63 > nt Note >+notes Note > > # Record-linking > Record-control-number 1=1045 >@@ -785,19 +800,6 @@ Host-item 1=1033 > # language and/or script. > #Title-parallel 1=35 > >-#Video >-video-mt 1=Video-mt >-Video-mt video-mt >-Graphics-type 1=Graphic-type >-Graphics-support 1=Graphic-support >-Type-Of-Serial 1=Type-Of-Serial >-Frequency-code 1=Frequency-code >-Regularity-code 1=Regularity-code >-Material-type 1=Material-type >-Literature-Code 1=Literature-Code >-Biography-code 1=Biography-code >-Illustration-code 1=Illustration-code >- > #Title-related- 1026 Serial titles related to this 247, 780, 785 > #periodical item, either the immediate > # predecessor or the immediate >@@ -1012,9 +1014,6 @@ mc-itype itype > > #date1 1=8801 > #date2 1=8802 >-ff8-22 1=8822 >-ff8-23 1=8823 >-ff8-34 1=8834 > > #att 8700 ff7-00 > #att 8701 ff7-01 >@@ -1039,23 +1038,83 @@ aub Author-personal-bibliography > Author-in-order 1=8901 > auo Author-in-order > >-# Audience >-audience 1=8822 >-aud audience > >-# Content and Literary form >-fiction 1=8833 >+#### Indexes for MARC Coded informations (008, 007, 040...) >+#### 8800-8841, 8700-8703, 8740, 9900-9904, 9913, 9658 >+ >+## Indexes common to Marc21 and UNIMARC : >+# Marc21 008/06 : Type of publication date (see UNIMARC 100/08) >+tpubdate 1=8806 >+ >+# Marc21 008/38 : Modified Record (see UNIMARC 100/21) >+Modified-code 1=8838 >+ >+# Marc21 008/22 : Target Audience (see UNIMARC 100/17-19) >+ta 1=8822 >+ff8-22 ta >+aud ta >+audience ta >+ >+## Indexes slightly different in Marc21 and UNIMARC (different meanings according to the type of the record => don't match a single UNIMARC field) >+## We can use it for UNIMARC to a first approximation >+# Marc21 008/18 : For Serials, frequency (see UNIMARC 110/1). For Books, Illustrations (see UNIMARC 100/0-3). For Maps, relief. For Music, Form of Composition. For Visual Materials, Running time. >+ff8-18 1=8818 >+Frequency-code ff8-18 >+ >+# Marc21 008/18-21 : For Books, Illustrations (see UNIMARC 100/0-3). For Maps, relief. For Music (18-19), Form of Composition. For Visual Materials (18-20), Running time. For Serials (18), frequency >+ff8-18-21 1=8840 >+Illustration-code ff8-18-21 >+ >+# Marc21 008/19 : For Serials, Regularity (see UNIMARC 110/2). For Music, Form of composition. For Books, illustrations. For Visual Materials, Running time >+ff8-19 1=8819 >+Regularity-code ff8-19 >+ >+# Marc21 008/21 : For Serials, Type of serial (see UNIMARC 110/0). For Music, Music parts. For Maps, relief >+ff8-21 1=8821 >+Type-Of-Serial ff8-21 >+ >+# Marc21 008/23 : For Books, Serials, Music, Mixed Materials, Computer files, Form of Item (see UNIMARC 106$a). For Maps, Projection >+ff8-23 1=8823 >+format ff8-23 >+ >+# Marc21 008/24-27 : For Books, Nature of contents (see UNIMARC 105/4-7), for and Serials (24 only), Nature of contents (see UNIMARC 110/3). For Computer Files (26 only), type of file. For Music, Accompanying matter. For Maps (25 only), type of cartographic material >+# ff8-24-27 1=8841 >+# Content-type ff8-24-27 >+# Use ctype att (1034) >+ >+# Marc21 008/28 : Government publication (see UNIMARC 100/20). except for Music, Accompanying matter >+ff8-28 1=8828 >+ >+# Marc21 008/29 : For Books and Serials, Conference code (see UNIMARC 105/8 and 110/7). For Maps and Visual Materials, Form of item >+ff8-29 1=8829 >+Conference-code ff8-29 >+ >+# Marc21 008/30 : For Books, Festchrift indicator (see UNIMARC 105/9). For Music, Literary text for sound recordings >+ff8-30 1=8830 >+Festschrift-indicator ff8-30 >+ >+# Marc21 008/31 : For Books and Maps, Index indicator (see UNIMARC 105/10). For Music, Literary text for sound recordings >+ff8-31 1=8831 >+Index-indicator ff8-31 >+ >+# Marc21 008/33 : For Books, Literary form (see UNIMARC : 105/11). For Serials, Script of title (see UNIMARC 100/34-35). For Music, Transposition and arrangement. For Visual Materials, Type of visual materials. For Maps, Special format characteristics >+lf 1=8833 >+lf fiction > fic fiction >-#mystery 1=? >-biography 1=8834 >-bio biography >+Literature-Code lf > >-# Format >-format 1=8823 >-# format used as a limit FIXME: needed? >-l-format 1=8703 >+# Marc21 008/34 : For Books, Biography. For Maps, Special format characteristics. For Continuing ressources, Entry convention. For Visual Materials, Technique. UNIMARC 105/12 : Biography code >+bio 1=8834 >+biography bio >+ff8-34 bio >+Biography-Code bio > >-Illustration-code 1=Illustration-code >+## positions of Marc21 007 (1 byte) >+ff7-00 1=8700 >+ff7-01 1=8701 >+ff7-02 1=87020 >+ff7-01-02 1=8703 >+l-format ff7-01-02 > > # Lexile Number > lex 1=9903 r=r >@@ -1069,6 +1128,20 @@ arp 1=9013 r=r > # Curriculum > curriculum 1=9658 > >+## UNIMARC Only >+## 97XX >+ >+Video-mt 1=9701 >+video-mt Video-mt >+Graphics-type 1=9702 >+Graphic-type Graphics-type >+Graphics-support 1=9703 >+Graphic-support Graphics-support >+Title-page-availability 1=9704 >+Cumulative-index-availability 1=9705 >+script-Title 1=9706 >+char-encoding 1=9707 >+ > ## Statuses > popularity 1=issues > >@@ -1132,15 +1205,11 @@ sort3 7=3 > # For recent changes in this section, see Bugzilla #3735 > #keyTitle 1=33 > #possessingInstitution 1=1044 >-name 1=1002 > #personalName 1=1 > #corporateName 1=2 > #conferenceName 1=3 > #uniformTitle 1=6 >-isbn 1=7 >-issn 1=8 > #geographicName 1=58 >-notes 1=63 > #topicalSubject 1=1079 > #genreForm 1=1075 > >diff --git a/etc/zebradb/marc_defs/unimarc/biblios/record.abs b/etc/zebradb/marc_defs/unimarc/biblios/record.abs >index dd481b6..bee5d58 100644 >--- a/etc/zebradb/marc_defs/unimarc/biblios/record.abs >+++ b/etc/zebradb/marc_defs/unimarc/biblios/record.abs >@@ -27,7 +27,7 @@ melm 001 Local-number,Local-number:n > melm 009 Identifier-standard:w,Identifier-standard:n > melm 090$9 Local-number,Local-number:n > melm 099$c date-entered-on-file:s,date-entered-on-file:n,date-entered-on-file:y,Date-of-acquisition,Date-of-acquisition:d,Date-of-acquisition:s >-melm 099$d Date/time-last-modified:s,Date/time-last-modified:n,Date/time-last-modified:y >+melm 099$d Date-time-last-modified:s,Date-time-last-modified:n,Date-time-last-modified:y > melm 099$t ccode:w > > # ISBN >@@ -83,42 +83,58 @@ melm 073$a EAN:w,Identifier-standard:w > melm 073$z EAN:w,Identifier-standard:w > > ############ ITEM TYPE ################## >-melm 200$b itemtype:w,itemtype:p,itype:w,itype:p >+# FIXME index 200$b only in Material-type ? >+melm 200$b itemtype:w,itemtype:p,itype:w,itype:p,Material-type:w,Material-type:p > melm 995$r itemtype:w,itemtype:p,itype:w,itype:p > > ############ CODED INFORMATIONS ################## >-melm 100$a tpubdate:s:range(data,8,1),ta:w:range(data,17,1),ta:w:range(data,18,1),ta:w:range(data,19,1),Modified-code:n:range(data,21,1),ln:s:range(data,22,3),char-encoding:n:range(data,26,2),char-encoding:n:range(data,28,2),char-encoding:n:range(data,30,2),script-Title:n:range(data,34,2) >+# Field 100 Description >+# Name of Data Element Number of characters Character Positions >+# Date Entered on File (Mandatory) 8 0-7 >+# Type of date 1 8 >+# Date 1 4 9-12 >+# Date 2 4 13-16 >+# Target audience 3 17-19 >+# Government Publication Code 1 20 >+# Modified Record Code 1 21 >+# Language of cataloguing (mandatory) 3 22-24 do not index in ln >+# Translitteration code 1 25 >+# Character Set (Mandatory) 4 26-29 >+# additional Character Set 4 28-33 >+# Script of title 2 34-35 >+melm 100$a tpubdate:s:range(data,8,1),ta:w:range(data,17,1),ta:w:range(data,18,1),ta:w:range(data,19,1),Modified-code:n:range(data,21,1),char-encoding:n:range(data,26,2),char-encoding:n:range(data,28,2),char-encoding:n:range(data,30,2),script-Title:n:range(data,34,2) > melm 101$a ln >-melm 102$a Country-heading >- >-#Field 105 Description >-#Illustration codes 4 >-#Form of contents codes 4 >-#Conference or meeting code 1 >-#Festschrift indicator 1 >-#Index indicator 1 >-#Literature code 1 >-#Biography code 1 >-melm 105$a Illustration-code:w:range(data,0,4),Content-type:w:range(data,4,1),Content-type:w:range(data,5,1),Content-type:w:range(data,6,1),Content-type:w:range(data,7,1),Conference-code:w:range(data,8,1),Festschrift-indicator:w:range(data,9,1),Index-indicator:w:range(data,10,1),Literature-Code:w:range(data,11,1),Biography-Code:w:range(data,12,1) >- >-melm 106$a itype:w,itype:p >- >-#Field 110 Description >-#Name of Data Element Number of characters Character Positions >-#Type of serial designator 1 0 >-#Frequency of issue 1 1 >-#Regularity 1 2 >-#Type of material code 1 3 >-#Nature of contents code 3 4-6 >-#Conference publication indicator 1 7 >-#Title page availability codes 1 8 >-#Index availability code 1 9 >-#Cumulative index availability code 1 10 >-melm 110$a Type-Of-Serial:w:range(data,0,1),Frequency-code:w:range(data,1,1),Regularity-code:w:range(data,2,1),Content-type:w:range(data,3,1),Content-type:w:range(data,4,3),Conference-publication-Code:w:range(data,7,1),Title-Page-availability-Code:w:range(data,8,1),Index-availability-Code:w:range(data,9,1),Cumulative-Index-availability-Code:w:range(data,10,1) >+melm 102$a Country-publication >+ >+# Field 105 Description >+# Name of Data Element Number of characters Character Positions >+# Illustration codes 4 0-3 >+# Form of contents codes 4 4-7 >+# Conference or meeting code 1 8 >+# Festschrift indicator 1 9 >+# Index indicator 1 10 >+# Literature code 1 11 >+# Biography code 1 12 >+melm 105$a ff8-18-21:w:range(data,0,1),ff8-18-21:w:range(data,1,1),ff8-18-21:w:range(data,2,1),ff8-18-21:w:range(data,3,1),ctype:w:range(data,4,1),ctype:w:range(data,5,1),ctype:w:range(data,6,1),ctype:w:range(data,7,1),ff8-29:w:range(data,8,1),ff8-30:w:range(data,9,1),ff8-31:w:range(data,10,1),lf:w:range(data,11,1),bio:w:range(data,12,1) >+ >+melm 106$a ff8-23:w,ff8-23:p >+ >+# Field 110 Description >+# Name of Data Element Number of characters Character Positions >+# Type of serial designator 1 0 >+# Frequency of issue 1 1 >+# Regularity 1 2 >+# Type of material code 1 3 >+# Nature of contents code 3 4-6 >+# Conference publication indicator 1 7 >+# Title page availability codes 1 8 >+# Index availability code 1 9 >+# Cumulative index availability code 1 10 >+melm 110$a ff8-21:w:range(data,0,1),ff8-18:w:range(data,1,1),ff8-19:w:range(data,2,1),ctype:w:range(data,3,1),ctype:w:range(data,4,3),ff8-29:w:range(data,7,1),Title-page-availability:w:range(data,8,1),ff8-31:w:range(data,9,1),Cumulative-index-availability:w:range(data,10,1) > > melm 115$a Video-mt:w:range(data,0,1) > >-melm 116$a Graphics-type:w:range(data,0,1),Graphics-support:w:range(data,1,1),Graphics-support:w:range(data,2,1), >+melm 116$a Graphics-type:w:range(data,0,1),Graphics-support:w:range(data,1,1),Graphics-support:w:range(data,2,1) > > ############ AUTHORS ################## > # main Author >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/subtypes_unimarc.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/subtypes_unimarc.inc >index 67d4c64..10f9cba 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/subtypes_unimarc.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/subtypes_unimarc.inc >@@ -7,81 +7,81 @@ > <label>Audience</label> > <select name="limit" class="subtype"> > <option value="" selected="selected" >Any</option> >- <option value="aud:a">juvenile, general</option> >- <option value="aud:b">pre-primary (0-5)</option> >- <option value="aud:c">primary (5-8)</option> >- <option value="aud:d">children (9-14)</option> >- <option value="aud:e">young adult</option> >- <option value="aud:k">adult, serious</option> >- <option value="aud:m">adult, general</option> >- <option value="aud:u">unknown</option> >+ <option value="ta:a">juvenile, general</option> >+ <option value="ta:b">pre-primary (0-5)</option> >+ <option value="ta:c">primary (5-8)</option> >+ <option value="ta:d">children (9-14)</option> >+ <option value="ta:e">young adult</option> >+ <option value="ta:k">adult, serious</option> >+ <option value="ta:m">adult, General</option> >+ <option value="ta:u">unknown</option> > </select> > </p> > <p> > <label>Print</label> > <select name="limit" class="subtype"> > <option value="" selected="selected" >Any</option> >- <option value="Material-type:r">regular print</option> >- <option value="Material-type:d">large print</option> >- <option value="Material-type:e">newspaper format</option> >- <option value="Material-type:f">Braille or Moon script</option> >- <option value="Material-type:g">microprint</option> >- <option value="Material-type:h">hand-written</option> >- <option value="Material-type:i">multimedia</option> >- <option value="Material-type:j">mini-print</option> >- <option value="Material-type:s">electronic ressource</option> >- <option value="Material-type:t">microform</option> >- <option value="Material-type:z">other form of textual material</option> >+ <option value="ff8-23:r">regular print</option> >+ <option value="ff8-23:d">large print</option> >+ <option value="ff8-23:e">newspaper format</option> >+ <option value="ff8-23:f">Braille or Moon script</option> >+ <option value="ff8-23:g">microprint</option> >+ <option value="ff8-23:h">hand-written</option> >+ <option value="ff8-23:i">multimedia</option> >+ <option value="ff8-23:j">mini-print</option> >+ <option value="ff8-23:s">electronic ressource</option> >+ <option value="ff8-23:t">microform</option> >+ <option value="ff8-23:z">other form of textual material</option> > </select> > </p> > <p> > <label>Literary genre</label> > <select name="limit" class="subtype"> > <option value="" selected="selected" >Any</option> >- <option value="Literature-Code:a">fiction</option> >- <option value="Literature-Code:b">drama</option> >- <option value="Literature-Code:c">essays</option> >- <option value="Literature-Code:d">humour, satire</option> >- <option value="Literature-Code:e">letters</option> >- <option value="Literature-Code:f">short stories</option> >- <option value="Literature-Code:g">poetry</option> >- <option value="Literature-Code:h">speeches, oratory</option> >- <option value="Literature-Code:i">libretto</option> >- <option value="Literature-Code:y">not a literary text</option> >- <option value="Literature-Code:z">multiple/other literary forms</option> >+ <option value="lf:a">fiction</option> >+ <option value="lf:b">drama</option> >+ <option value="lf:c">essays</option> >+ <option value="lf:d">humour, satire</option> >+ <option value="lf:e">letters</option> >+ <option value="lf:f">short stories</option> >+ <option value="lf:g">poetry</option> >+ <option value="lf:h">speeches, oratory</option> >+ <option value="lf:i">libretto</option> >+ <option value="lf:y">not a literary text</option> >+ <option value="lf:z">multiple/other literary forms</option> > </select> > </p> > <p> > <label>Biography</label> > <select name="limit" class="subtype" size="1"> > <option value="">Any</option> >- <option value="Biography-code:y">not a biography</option> >- <option value="Biography-code:a">autobiography</option> >- <option value="Biography-code:b">individual biography</option> >- <option value="Biography-code:c">collective biography</option> >- <option value="Biography-code:d">contains biographical data</option> >+ <option value="bio:y">not a biography</option> >+ <option value="bio:a">autobiography</option> >+ <option value="bio:b">individual biography</option> >+ <option value="bio:c">collective biography</option> >+ <option value="bio:d">contains biographical data</option> > </select> > </p> > <p> > <label>Illustration</label> > <select name="limit" class="subtype" size="1"> > <option value="">Any</option> >- <option value="Illustration-Code:a">illustrations</option> >- <option value="Illustration-Code:b">maps</option> >- <option value="Illustration-Code:c">portraits</option> >- <option value="Illustration-Code:d">charts</option> >- <option value="Illustration-Code:e">plans</option> >- <option value="Illustration-Code:f">plates</option> >- <option value="Illustration-Code:g">music</option> >- <option value="Illustration-Code:h">facsimiles</option> >- <option value="Illustration-Code:i">coats of arms</option> >- <option value="Illustration-Code:j">genealogical tables</option> >- <option value="Illustration-Code:k">forms</option> >- <option value="Illustration-Code:l">samples</option> >- <option value="Illustration-Code:m">sound recordings</option> >- <option value="Illustration-Code:n">transparencies</option> >- <option value="Illustration-Code:o">illuminations</option> >- <option value="Illustration-Code:y">no illustrations</option> >+ <option value="ff8-18-21:a">illustrations</option> >+ <option value="ff8-18-21:b">maps</option> >+ <option value="ff8-18-21:c">portraits</option> >+ <option value="ff8-18-21:d">charts</option> >+ <option value="ff8-18-21:e">plans</option> >+ <option value="ff8-18-21:f">plates</option> >+ <option value="ff8-18-21:g">music</option> >+ <option value="ff8-18-21:h">facsimiles</option> >+ <option value="ff8-18-21:i">coats of arms</option> >+ <option value="ff8-18-21:j">genealogical tables</option> >+ <option value="ff8-18-21:k">forms</option> >+ <option value="ff8-18-21:l">samples</option> >+ <option value="ff8-18-21:m">sound recordings</option> >+ <option value="ff8-18-21:n">transparencies</option> >+ <option value="ff8-18-21:o">illuminations</option> >+ <option value="ff8-18-21:y">no illustrations</option> > </select> > </p> > <p> >@@ -129,47 +129,47 @@ > <label>Serial Type</label> > <select name="limit" class="subtype"> > <option value="">Any type</option> >- <option value="Type-Of-Serial:a">Periodical</option> >- <option value="Type-Of-Serial:b">Monographic series</option> >- <option value="Type-Of-Serial:c">Newspaper</option> >- <option value="Type-Of-Serial:e">Updating loose-leaf</option> >- <option value="Type-Of-Serial:f">Database</option> >- <option value="Type-Of-Serial:g">Updating website</option> >- <option value="Type-Of-Serial:z">Other</option> >+ <option value="ff8-21:a">Periodical</option> >+ <option value="ff8-21:b">Monographic series</option> >+ <option value="ff8-21:c">Newspaper</option> >+ <option value="ff8-21:e">Updating loose-leaf</option> >+ <option value="ff8-21:f">Database</option> >+ <option value="ff8-21:g">Updating website</option> >+ <option value="ff8-21:z">Other</option> > </select> > </p> > <p> > <label>Periodicity</label> > <select name="limit" class="subtype"> > <option value="">Any</option> >- <option value="Frequency-code:a">Daily</option> >- <option value="Frequency-code:b">Semiweekly</option> >- <option value="Frequency-code:c">Weekly</option> >- <option value="Frequency-code:d">Biweekly</option> >- <option value="Frequency-code:e">Semimonthly</option> >- <option value="Frequency-code:f">Monthly</option> >- <option value="Frequency-code:g">Bimonthly</option> >- <option value="Frequency-code:h">Quarterly</option> >- <option value="Frequency-code:i">Three times a year</option> >- <option value="Frequency-code:j">Semiannual</option> >- <option value="Frequency-code:k">Annual</option> >- <option value="Frequency-code:l">Biennial</option> >- <option value="Frequency-code:m">Triennial</option> >- <option value="Frequency-code:n">Three times a week</option> >- <option value="Frequency-code:o">Three times a month</option> >- <option value="Frequency-code:y">Without periodicity</option> >- <option value="Frequency-code:u">Unknown</option> >- <option value="Frequency-code:z">Other</option> >+ <option value="ff8-18:a">Daily</option> >+ <option value="ff8-18:b">Semiweekly</option> >+ <option value="ff8-18:c">Weekly</option> >+ <option value="ff8-18:d">Biweekly</option> >+ <option value="ff8-18:e">Semimonthly</option> >+ <option value="ff8-18:f">Monthly</option> >+ <option value="ff8-18:g">Bimonthly</option> >+ <option value="ff8-18:h">Quarterly</option> >+ <option value="ff8-18:i">Three times a year</option> >+ <option value="ff8-18:j">Semiannual</option> >+ <option value="ff8-18:k">Annual</option> >+ <option value="ff8-18:l">Biennial</option> >+ <option value="ff8-18:m">Triennial</option> >+ <option value="ff8-18:n">Three times a week</option> >+ <option value="ff8-18:o">Three times a month</option> >+ <option value="ff8-18:y">Without periodicity</option> >+ <option value="ff8-18:u">Unknown</option> >+ <option value="ff8-18:z">Other</option> > </select> > </p> > <p> > <label>Regularity</label> > <select name="limit" class="subtype"> > <option value="">Any regularity</option> >- <option value="Regularity-code:a">regular</option> >- <option value="Regularity-code:b">normalised irregular</option> >- <option value="Regularity-code:y">irregular</option> >- <option value="Regularity-code:u">unknown</option> >+ <option value="ff8-19:a">regular</option> >+ <option value="ff8-19:b">normalised irregular</option> >+ <option value="ff8-19:y">irregular</option> >+ <option value="ff8-19:u">unknown</option> > </select> > </p> > >diff --git a/koha-tmpl/opac-tmpl/prog/en/includes/subtypes_unimarc.inc b/koha-tmpl/opac-tmpl/prog/en/includes/subtypes_unimarc.inc >index 28b6a09..9a11671 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/includes/subtypes_unimarc.inc >+++ b/koha-tmpl/opac-tmpl/prog/en/includes/subtypes_unimarc.inc >@@ -4,81 +4,81 @@ > <label>Audience</label> > <select name="limit" class="subtype"> > <option value="" selected="selected" >Any</option> >- <option value="aud:a">juvenile, general</option> >- <option value="aud:b">pre-primary (0-5)</option> >- <option value="aud:c">primary (5-8)</option> >- <option value="aud:d">children (9-14)</option> >- <option value="aud:e">young adult</option> >- <option value="aud:k">adult, serious</option> >- <option value="aud:m">adult, General</option> >- <option value="aud:u">unknown</option> >+ <option value="ta:a">juvenile, general</option> >+ <option value="ta:b">pre-primary (0-5)</option> >+ <option value="ta:c">primary (5-8)</option> >+ <option value="ta:d">children (9-14)</option> >+ <option value="ta:e">young adult</option> >+ <option value="ta:k">adult, serious</option> >+ <option value="ta:m">adult, General</option> >+ <option value="ta:u">unknown</option> > </select> > </p> > <p> > <label>Print</label> > <select name="limit" class="subtype"> >- <option value="" selected="selected" >Any</option> >- <option value="Material-type:r">regular print</option> >- <option value="Material-type:d">large print</option> >- <option value="Material-type:e">newspaper format</option> >- <option value="Material-type:f">Braille or Moon script</option> >- <option value="Material-type:g">microprint</option> >- <option value="Material-type:h">hand-written</option> >- <option value="Material-type:i">multimedia</option> >- <option value="Material-type:j">mini-print</option> >- <option value="Material-type:s">electronic ressource</option> >- <option value="Material-type:t">microform</option> >- <option value="Material-type:z">other form of textual material</option> >+ <option value="" selected="selected" >Any</option> >+ <option value="ff8-23:r">regular print</option> >+ <option value="ff8-23:d">large print</option> >+ <option value="ff8-23:e">newspaper format</option> >+ <option value="ff8-23:f">Braille or Moon script</option> >+ <option value="ff8-23:g">microprint</option> >+ <option value="ff8-23:h">hand-written</option> >+ <option value="ff8-23:i">multimedia</option> >+ <option value="ff8-23:j">mini-print</option> >+ <option value="ff8-23:s">electronic ressource</option> >+ <option value="ff8-23:t">microform</option> >+ <option value="ff8-23:z">other form of textual material</option> > </select> > </p> > <p> > <label>Literary genre</label> > <select name="limit" class="subtype"> > <option value="" selected="selected" >Any</option> >- <option value="Literature-Code:a">fiction</option> >- <option value="Literature-Code:b">drama</option> >- <option value="Literature-Code:c">essays</option> >- <option value="Literature-Code:d">humour, satire</option> >- <option value="Literature-Code:e">letters</option> >- <option value="Literature-Code:f">short stories</option> >- <option value="Literature-Code:g">poetry</option> >- <option value="Literature-Code:h">speeches, oratory</option> >- <option value="Literature-Code:i">libretto</option> >- <option value="Literature-Code:y">not a literary text</option> >- <option value="Literature-Code:z">multiple/other literary forms</option> >+ <option value="lf:a">fiction</option> >+ <option value="lf:b">drama</option> >+ <option value="lf:c">essays</option> >+ <option value="lf:d">humour, satire</option> >+ <option value="lf:e">letters</option> >+ <option value="lf:f">short stories</option> >+ <option value="lf:g">poetry</option> >+ <option value="lf:h">speeches, oratory</option> >+ <option value="lf:i">libretto</option> >+ <option value="lf:y">not a literary text</option> >+ <option value="lf:z">multiple/other literary forms</option> > </select> > </p> > <p> > <label>Biography</label> > <select name="limit" class="subtype" size="1"> > <option value="">Any</option> >- <option value="Biography-code:y">not a biography</option> >- <option value="Biography-code:a">autobiography</option> >- <option value="Biography-code:b">individual biography</option> >- <option value="Biography-code:c">collective biography</option> >- <option value="Biography-code:d">contains biographical data</option> >+ <option value="bio:y">not a biography</option> >+ <option value="bio:a">autobiography</option> >+ <option value="bio:b">individual biography</option> >+ <option value="bio:c">collective biography</option> >+ <option value="bio:d">contains biographical data</option> > </select> > </p> > <p> > <label>Illustration</label> > <select name="limit" class="subtype" size="1"> >- <option value="">Any</option> >- <option value="Illustration-Code:a">illustrations</option> >- <option value="Illustration-Code:b">maps</option> >- <option value="Illustration-Code:c">portraits</option> >- <option value="Illustration-Code:d">charts</option> >- <option value="Illustration-Code:e">plans</option> >- <option value="Illustration-Code:f">plates</option> >- <option value="Illustration-Code:g">music</option> >- <option value="Illustration-Code:h">facsimiles</option> >- <option value="Illustration-Code:i">coats of arms</option> >- <option value="Illustration-Code:j">genealogical tables</option> >- <option value="Illustration-Code:k">forms</option> >- <option value="Illustration-Code:l">samples</option> >- <option value="Illustration-Code:m">sound recordings</option> >- <option value="Illustration-Code:n">transparencies</option> >- <option value="Illustration-Code:o">illuminations</option> >- <option value="Illustration-Code:y">no illustrations</option> >+ <option value="">Any</option> >+ <option value="ff8-18-21:a">illustrations</option> >+ <option value="ff8-18-21:b">maps</option> >+ <option value="ff8-18-21:c">portraits</option> >+ <option value="ff8-18-21:d">charts</option> >+ <option value="ff8-18-21:e">plans</option> >+ <option value="ff8-18-21:f">plates</option> >+ <option value="ff8-18-21:g">music</option> >+ <option value="ff8-18-21:h">facsimiles</option> >+ <option value="ff8-18-21:i">coats of arms</option> >+ <option value="ff8-18-21:j">genealogical tables</option> >+ <option value="ff8-18-21:k">forms</option> >+ <option value="ff8-18-21:l">samples</option> >+ <option value="ff8-18-21:m">sound recordings</option> >+ <option value="ff8-18-21:n">transparencies</option> >+ <option value="ff8-18-21:o">illuminations</option> >+ <option value="ff8-18-21:y">no illustrations</option> > </select> > </p> > <p> >@@ -126,48 +126,48 @@ > <label>Serial type</label> > <select name="limit" class="subtype"> > <option value="">Any type</option> >- <option value="Type-Of-Serial:a">Periodical</option> >- <option value="Type-Of-Serial:b">Monographic series</option> >- <option value="Type-Of-Serial:c">Newspaper</option> >- <option value="Type-Of-Serial:e">Updating loose-leaf</option> >- <option value="Type-Of-Serial:f">Database</option> >- <option value="Type-Of-Serial:g">Updating website</option> >- <option value="Type-Of-Serial:z">Other</option> >+ <option value="ff8-21:a">Periodical</option> >+ <option value="ff8-21:b">Monographic series</option> >+ <option value="ff8-21:c">Newspaper</option> >+ <option value="ff8-21:e">Updating loose-leaf</option> >+ <option value="ff8-21:f">Database</option> >+ <option value="ff8-21:g">Updating website</option> >+ <option value="ff8-21:z">Other</option> > </select> > </p> > <p> > <label>Periodicity</label> > <select name="limit" class="subtype"> > <option value="">Any</option> >- <option value="Frequency-code:a">Daily</option> >- <option value="Frequency-code:b">Semiweekly</option> >- <option value="Frequency-code:c">Weekly</option> >- <option value="Frequency-code:d">Biweekly</option> >- <option value="Frequency-code:e">Semimonthly</option> >- <option value="Frequency-code:f">Monthly</option> >- <option value="Frequency-code:g">Bimonthly</option> >- <option value="Frequency-code:h">Quarterly</option> >- <option value="Frequency-code:i">Three times a year</option> >- <option value="Frequency-code:j">Semiannual</option> >- <option value="Frequency-code:k">Annual</option> >- <option value="Frequency-code:l">Biennial</option> >- <option value="Frequency-code:m">Triennial</option> >- <option value="Frequency-code:n">Three times a week</option> >- <option value="Frequency-code:o">Three times a month</option> >- <option value="Frequency-code:y">Without periodicity</option> >- <option value="Frequency-code:u">Unknown</option> >- <option value="Frequency-code:z">Other</option> >+ <option value="ff8-18:a">Daily</option> >+ <option value="ff8-18:b">Semiweekly</option> >+ <option value="ff8-18:c">Weekly</option> >+ <option value="ff8-18:d">Biweekly</option> >+ <option value="ff8-18:e">Semimonthly</option> >+ <option value="ff8-18:f">Monthly</option> >+ <option value="ff8-18:g">Bimonthly</option> >+ <option value="ff8-18:h">Quarterly</option> >+ <option value="ff8-18:i">Three times a year</option> >+ <option value="ff8-18:j">Semiannual</option> >+ <option value="ff8-18:k">Annual</option> >+ <option value="ff8-18:l">Biennial</option> >+ <option value="ff8-18:m">Triennial</option> >+ <option value="ff8-18:n">Three times a week</option> >+ <option value="ff8-18:o">Three times a month</option> >+ <option value="ff8-18:y">Without periodicity</option> >+ <option value="ff8-18:u">Unknown</option> >+ <option value="ff8-18:z">Other</option> > </select> > </p> > <p> > <label>Regularity</label> > <select name="limit" class="subtype"> > <option value="">Any regularity</option> >- <option value="Regularity-code:a">regular</option> >- <option value="Regularity-code:b">normalised irregular</option> >- <option value="Regularity-code:y">irregular</option> >- <option value="Regularity-code:u">unknown</option> >- </select> >+ <option value="ff8-19:a">regular</option> >+ <option value="ff8-19:b">normalised irregular</option> >+ <option value="ff8-19:y">irregular</option> >+ <option value="ff8-19:u">unknown</option> >+ </select> > </p> > > </fieldset> >-- >1.7.10.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 8252
:
15007
|
15008
|
16945
|
16946
|
17970
|
17971
|
17972
|
21057
|
21058
|
21059
|
21430
|
21437
|
21438
|
21439
|
21452
|
21454
| 21945 |
21946
|
21947
|
21948
|
21949
|
22672