Bugzilla – Attachment 15863 Details for
Bug 8620
Barcode searching not working correctly
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED OFF] Bug 8620: Any index overfull in DOM configurations
SIGNED-OFF-Bug-8620-Any-index-overfull-in-DOM-conf.patch (text/plain), 3.25 KB, created by
Katrin Fischer
on 2013-03-04 21:35:28 UTC
(
hide
)
Description:
[SIGNED OFF] Bug 8620: Any index overfull in DOM configurations
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2013-03-04 21:35:28 UTC
Size:
3.25 KB
patch
obsolete
>From 80d64bb5ba691a251128fbee4d9169e0b4370629 Mon Sep 17 00:00:00 2001 >From: Jared Camins-Esakov <jcamins@cpbibliography.com> >Date: Mon, 4 Mar 2013 16:10:34 -0500 >Subject: [PATCH] [SIGNED OFF] Bug 8620: Any index overfull in DOM > configurations > >The Any index seems like it may have been having too many elements added >to it. I don't understand how that is possible, but there you go. > >This patch tests the theory, by changing the way the Any index is >populated. > >To test: >1) Apply patch. >2) Update the following two files: > etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl > etc/zebradb/xsl/koha-indexdefs-to-zebra.xsl >3) Reindex >4) Do a search that was previously failing. > >Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> >Fixes the problem for me - formerly not working callnumbers >and barcodes are now found in keyword (any) searches. >--- > .../marc21/biblios/biblio-zebra-indexdefs.xsl | 3 ++- > etc/zebradb/xsl/koha-indexdefs-to-zebra.xsl | 3 ++- > 2 files changed, 4 insertions(+), 2 deletions(-) > >diff --git a/etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl b/etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl >index 14f299e..26858e8 100644 >--- a/etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl >+++ b/etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl >@@ -39,6 +39,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) > <xslo:apply-templates mode="index_heading_conditional"/> > <xslo:apply-templates mode="index_match_heading"/> > <xslo:apply-templates mode="index_subject_thesaurus"/> >+ <xslo:apply-templates mode="index_all"/> > </z:record> > </xslo:template> > <xslo:template match="marc:leader"> >@@ -2322,7 +2323,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) > <xslo:value-of select="normalize-space($raw_heading)"/> > </z:index> > </xslo:template> >- <xslo:template match="*"> >+ <xslo:template mode="index_all" match="text()"> > <z:index name="Any:w Any:p"> > <xslo:value-of select="."/> > </z:index> >diff --git a/etc/zebradb/xsl/koha-indexdefs-to-zebra.xsl b/etc/zebradb/xsl/koha-indexdefs-to-zebra.xsl >index 42b334f..75e2a86 100644 >--- a/etc/zebradb/xsl/koha-indexdefs-to-zebra.xsl >+++ b/etc/zebradb/xsl/koha-indexdefs-to-zebra.xsl >@@ -61,6 +61,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) > <xslo:apply-templates mode="index_heading_conditional"/> > <xslo:apply-templates mode="index_match_heading"/> > <xslo:apply-templates mode="index_subject_thesaurus"/> >+ <xslo:apply-templates mode="index_all"/> > </z:record> > </xslo:template> > >@@ -72,7 +73,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) > <xsl:call-template name="handle-index-heading-conditional"/> > <xsl:call-template name="handle-index-match-heading"/> > <xsl:apply-templates/> >- <xslo:template match="*"> >+ <xslo:template mode="index_all" match="text()"> > <z:index name="Any:w Any:p"> > <xslo:value-of select="."/> > </z:index> >-- >1.7.9.5
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 8620
:
15164
|
15293
|
15862
|
15863
|
15869
|
15905