Bugzilla – Attachment 35922 Details for
Bug 12948
The language filter in advance search doen't work with DOM MARC21 - NORMARC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for Normarc
0002-BUG-12948-Patch-for-filter-language-in-Advanced-Sear.patch (text/plain), 2.99 KB, created by
Zeno Tajoli
on 2015-02-15 17:01:06 UTC
(
hide
)
Description:
Patch for Normarc
Filename:
MIME Type:
Creator:
Zeno Tajoli
Created:
2015-02-15 17:01:06 UTC
Size:
2.99 KB
patch
obsolete
>From 17f36c2b11663e4766459adb16f3768dd8bdd813 Mon Sep 17 00:00:00 2001 >From: Zeno Tajoli <z.tajoli@cineca.it> >Date: Sun, 15 Feb 2015 17:54:48 +0100 >Subject: [PATCH 2/2] [BUG 12948] Patch-for-filter-language-in-Advanced-Search > >This patch is for Normarc >Same test plan as patch for MARC21, except you need a setup with Normarc. >--- > etc/zebradb/marc_defs/normarc/biblios/biblio-koha-indexdefs.xml | 4 ++-- > etc/zebradb/marc_defs/normarc/biblios/biblio-zebra-indexdefs.xsl | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > >diff --git a/etc/zebradb/marc_defs/normarc/biblios/biblio-koha-indexdefs.xml b/etc/zebradb/marc_defs/normarc/biblios/biblio-koha-indexdefs.xml >index 5ce689f..0918f2a 100644 >--- a/etc/zebradb/marc_defs/normarc/biblios/biblio-koha-indexdefs.xml >+++ b/etc/zebradb/marc_defs/normarc/biblios/biblio-koha-indexdefs.xml >@@ -35,7 +35,7 @@ > <index_control_field tag="007" offset="0" length="2"> > <target_index>ff7-01-02:w</target_index> > </index_control_field> >- <!--record.abs line 74: melm 008 date-entered-on-file:n:range(data,0,5),date-entered-on-file:s:range(data,0,5),pubdate:w:range(data,7,4),pubdate:n:range(data,7,4),pubdate:y:range(data,7,4),pubdate:s:range(data,7,4),pl:w:range(data,15,3),ta:w:range(data,22,1),ff8-23:w:range(data,23,1),ff8-29:w:range(data,29,1),lf:w:range(data,33,1),bio:w:range(data,34,1),ln:n:range(data,35,3),ctype:w:range(data,24,4),Record-source:w:range(data,39,0)--> >+ <!--record.abs line 74: melm 008 date-entered-on-file:n:range(data,0,5),date-entered-on-file:s:range(data,0,5),pubdate:w:range(data,7,4),pubdate:n:range(data,7,4),pubdate:y:range(data,7,4),pubdate:s:range(data,7,4),pl:w:range(data,15,3),ta:w:range(data,22,1),ff8-23:w:range(data,23,1),ff8-29:w:range(data,29,1),lf:w:range(data,33,1),bio:w:range(data,34,1),ln:w:range(data,35,3),ctype:w:range(data,24,4),Record-source:w:range(data,39,0)--> > <index_control_field tag="008" offset="0" length="5"> > <target_index>date-entered-on-file:n</target_index> > </index_control_field> >@@ -73,7 +73,7 @@ > <target_index>bio:w</target_index> > </index_control_field> > <index_control_field tag="008" offset="35" length="3"> >- <target_index>ln:n</target_index> >+ <target_index>ln:w</target_index> > </index_control_field> > <index_control_field tag="008" offset="24" length="4"> > <target_index>ctype:w</target_index> >diff --git a/etc/zebradb/marc_defs/normarc/biblios/biblio-zebra-indexdefs.xsl b/etc/zebradb/marc_defs/normarc/biblios/biblio-zebra-indexdefs.xsl >index 56d006b..1eeca69 100644 >--- a/etc/zebradb/marc_defs/normarc/biblios/biblio-zebra-indexdefs.xsl >+++ b/etc/zebradb/marc_defs/normarc/biblios/biblio-zebra-indexdefs.xsl >@@ -117,7 +117,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) > <z:index name="bio:w"> > <xslo:value-of select="substring(., 35, 1)"/> > </z:index> >- <z:index name="ln:n"> >+ <z:index name="ln:w"> > <xslo:value-of select="substring(., 36, 3)"/> > </z:index> > <z:index name="ctype:w"> >-- >1.7.10.4 >
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 12948
:
35921
|
35922
|
35923
|
35924
|
35990
|
35991
|
36090
|
36091