[Koha-patches] [PATCH] [SIGNED-OFF] Bug 5307: Language search fields

Nicole Engard nengard at bywatersolutions.com
Sun Feb 13 02:46:59 CET 2011


From: Ian Walls <ian.walls at bywatersolutions.com>

Previously, searching on language would turn up any code found in any 041 subfield.  Unfortunately,
this field is used for language information OTHER THAN the language of the material, like the
original language (which may not be present anywhere in the material itself).

Below are the subfields for 041, and whether they've been kept or removed by this patch.

a: main language, kept
b: summary/abstract, removed
d: sung/spoken text for audio item, kept
e: librettos, kept
f: table of contents, removed
g: other material, removed
h: original language, removed
j: subtitles/captions, kept

Signed-off-by: Nicole Engard <nengard at bywatersolutions.com>
---
 etc/zebradb/marc_defs/marc21/biblios/record.abs |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/etc/zebradb/marc_defs/marc21/biblios/record.abs b/etc/zebradb/marc_defs/marc21/biblios/record.abs
index 85eaedd..81e4731 100755
--- a/etc/zebradb/marc_defs/marc21/biblios/record.abs
+++ b/etc/zebradb/marc_defs/marc21/biblios/record.abs
@@ -67,7 +67,10 @@ melm 034        Map-scale
 #melm 035       Local-number,Identifier-standard
 melm 037        Identifier-standard,Stock-number
 melm 040        Code-institution,Record-source
-melm 041        ln
+melm 041$a      ln
+melm 041$d      ln
+melm 041$e      ln
+melm 041$j      ln
 melm 043        Code-geographic
 #melm 046       pubdate
 melm 050$b      LC-call-number:w,LC-call-number:p,LC-call-number:s
-- 
1.5.6.5



More information about the Koha-patches mailing list