[Koha-patches] [PATCH] Fix bug #2986 - Authority search

Frederic Demians f.demians at tamil.fr
Thu Feb 26 10:57:43 CET 2009


On authorities-home.pl page, when you do search, you don't have any
result. Looking in log file, you see a Zebra error:

  Unsupported Use attribute (114) authtype Bib-1

This patch modify record.abs UNIMARC definition.
The same may have to be done for MARC21 record.abs.
---
 .../marc_defs/unimarc/authorities/record.abs       |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/etc/zebradb/marc_defs/unimarc/authorities/record.abs b/etc/zebradb/marc_defs/unimarc/authorities/record.abs
index 14bb0df..762dea3 100644
--- a/etc/zebradb/marc_defs/unimarc/authorities/record.abs
+++ b/etc/zebradb/marc_defs/unimarc/authorities/record.abs
@@ -13,7 +13,7 @@ xpath enable
 all any
 melm 001 Local-Number
 #melm 942$a authtype
-melm 152$b authtype
+melm 152$b authtype:w,authtype:p
 
 # Personal Name
 melm 200$a Personal-name-heading:w,Personal-name-heading:p,Personal-name-heading:s,Personal-name:w,Personal-name:p,Heading:w,Heading:p,Heading:s
-- 
1.5.5.GIT




More information about the Koha-patches mailing list