Bugzilla – Attachment 3180 Details for
Bug 3072
'Heading-Main' authority-index breaks authority searching in STABLE
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
patch.txt (text/plain), 1.88 KB, created by
Marcel de Rooy
on 2011-02-18 13:59:25 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2011-02-18 13:59:25 UTC
Size:
1.88 KB
patch
obsolete
>From e7fcb837fa83eb4a89767fb6fd6a053bb824200e Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Fri, 18 Feb 2011 14:39:46 +0100 >Subject: [PATCH] 3072: Search for Heading-Main in authorities >Content-Type: text/plain; charset="utf-8" > >Includes Heading-Main in authorities bib1 attribute set. >Also includes Any in authorities bib1 (was still missing). >Also removes temporary fix in AuthoritiesMarc.pm. >--- > C4/AuthoritiesMarc.pm | 7 +------ > etc/zebradb/authorities/etc/bib1.att | 2 ++ > 2 files changed, 3 insertions(+), 6 deletions(-) > >diff --git a/C4/AuthoritiesMarc.pm b/C4/AuthoritiesMarc.pm >index e5808b0..c32369e 100644 >--- a/C4/AuthoritiesMarc.pm >+++ b/C4/AuthoritiesMarc.pm >@@ -224,13 +224,8 @@ sub SearchAuthorities { > for(my $i = 0 ; $i <= $#{$value} ; $i++) > { > if (@$value[$i]){ >- ##If mainentry search $a tag > if (@$tags[$i] eq "mainmainentry") { >- >-# FIXME: 'Heading-Main' index not yet defined in zebra >-# $attr =" \@attr 1=Heading-Main "; >- $attr =" \@attr 1=Heading "; >- >+ $attr =" \@attr 1=Heading-Main "; #search only in $a > }elsif (@$tags[$i] eq "mainentry") { > $attr =" \@attr 1=Heading "; > }else{ >diff --git a/etc/zebradb/authorities/etc/bib1.att b/etc/zebradb/authorities/etc/bib1.att >index c41a5e6..b34e6b5 100644 >--- a/etc/zebradb/authorities/etc/bib1.att >+++ b/etc/zebradb/authorities/etc/bib1.att >@@ -2,6 +2,7 @@ > name bib1 > reference Bib-1 > >+att 1016 Any > att 9000 authtype > att 12 Local-Number > att 9038 Descriptive-cataloging-rules >@@ -65,6 +66,7 @@ att 9029 Term-genre-form-see-also-from > att 8001 Heading > att 8002 See-from > att 8003 See-also-from >+att 8004 Heading-Main > att 8804 Match-heading > att 8805 Match-subdivision > att 8806 Subdivision >-- >1.6.0.6 >
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 3072
:
1069
|
3180
|
3742
|
3775
|
3847
|
3848
|
3864
|
3937