[Koha-patches] [PATCH] Bug 11192 : Fix lf and ff07-02 definition in ccl.properties

Mathieu Saby mathieu.saby at univ-rennes2.fr
Sun Nov 3 21:31:05 CET 2013


ff7-02 1=87020 (position 2 of field 007 in MARC21) should be ff7-02 1=8702

lf 1=8833
lf fiction
fic fiction

should be

lf 1=8833
fiction lf
fic lf

To test :
1. apply the patch
2. copy the modified ccl.properties into your active Zebra config directory
3. reindex zebra (rebuild_zebra.pl -b -x -r -v)
4. make some searches using the fixed indexes

---
  etc/zebradb/ccl.properties |   10 +++-------
  1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/etc/zebradb/ccl.properties b/etc/zebradb/ccl.properties
index 14aa7b2..d726419 100644
--- a/etc/zebradb/ccl.properties
+++ b/etc/zebradb/ccl.properties
@@ -1016,10 +1016,6 @@ mc-itype itype
  #date1 1=8801
  #date2 1=8802
  
-#att 8700            ff7-00
-#att 8701            ff7-01
-#att 8702            ff7-02
-
  ############## SUBJECT-RELATED
  # Topical Term
  #tt
@@ -1100,8 +1096,8 @@ 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
+lf lf
+fic lf
  Literature-Code lf
  
  # 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
@@ -1113,7 +1109,7 @@ Biography-Code bio
  ## positions of Marc21 007 (1 byte)
  ff7-00 1=8700
  ff7-01 1=8701
-ff7-02 1=87020
+ff7-02 1=8702
  ff7-01-02 1=8703
  l-format ff7-01-02
  
-- 
1.7.9.5

-- 
Mathieu Saby
Service d'Informatique Documentaire
Service Commun de Documentation
Université Rennes 2
Téléphone : 02 99 14 12 65
Courriel : mathieu.saby at univ-rennes2.fr



More information about the Koha-patches mailing list