From 041e3603a1bf44a7147188cb83419a9e4cf51fe6 Mon Sep 17 00:00:00 2001
From: Mathieu Saby
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
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
Signed-off-by: Galen Charlton
---
C4/Search.pm | 1 +
etc/zebradb/biblios/etc/bib1.att | 63 +++++--
etc/zebradb/ccl.properties | 157 ++++++++++++-----
.../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 0453b91424..04e4918687 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 b2c38c4de1..1a47682146 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 a5de0107ca..6f5a5080fe 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 dd481b66ea..bee5d5807d 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 67d4c64f94..10f9cbac88 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 @@