Bugzilla – Attachment 40626 Details for
Bug 14453
kohaidx is missing for id in authority-koha-indexdefs.xml
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14453 - kohaidx is missing for id in authority-koha-indexdefs.xml
Bug-14453---kohaidx-is-missing-for-id-in-authority.patch (text/plain), 2.96 KB, created by
Mirko Tietgen
on 2015-06-25 09:44:13 UTC
(
hide
)
Description:
Bug 14453 - kohaidx is missing for id in authority-koha-indexdefs.xml
Filename:
MIME Type:
Creator:
Mirko Tietgen
Created:
2015-06-25 09:44:13 UTC
Size:
2.96 KB
patch
obsolete
>From 4aa7abc1fa1e3307bd62b5498143307ba5f2393f Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >Date: Wed, 24 Jun 2015 16:06:05 +0200 >Subject: [PATCH] Bug 14453 - kohaidx is missing for id in > authority-koha-indexdefs.xml > >In authority-koha-indexdefs.xml, all tags use the namespace "kohaidx" except the tag "id". > >When re-generating authority-zebra-indexdefs.xsl, the line : > <xslo:variable name="idfield" select="normalize-space(marc:controlfield[@tag='001'])"/> >is modified : > <xslo:variable name="idfield" select="normalize-space()"/> >This is an error. > >This patch adds kohaidx namespace to correct. > >Test plan : >- Without patch >- go to etc/zebradb/marc_defs/marc21/authorities/ >- run : xslproc xsltproc ../../../xsl/koha-indexdefs-to-zebra.xsl authority-koha-indexdefs.xml > authority-zebra-indexdefs.xsl >- read authority-zebra-indexdefs.xsl >=> the line has changed : <xslo:variable name="idfield" select="normalize-space()"/> >- Apply patch >- go to etc/zebradb/marc_defs/marc21/authorities/ >- run : xslproc xsltproc ../../../xsl/koha-indexdefs-to-zebra.xsl authority-koha-indexdefs.xml > authority-zebra-indexdefs.xsl >- read authority-zebra-indexdefs.xsl >=> the line has not changed >(same for unimarc flavor) > >Signed-off-by: Mirko Tietgen <mirko@abunchofthings.net> >--- > .../marc_defs/marc21/authorities/authority-koha-indexdefs.xml | 2 +- > .../marc_defs/unimarc/authorities/authority-koha-indexdefs.xml | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/etc/zebradb/marc_defs/marc21/authorities/authority-koha-indexdefs.xml b/etc/zebradb/marc_defs/marc21/authorities/authority-koha-indexdefs.xml >index 752cd57..52652bc 100644 >--- a/etc/zebradb/marc_defs/marc21/authorities/authority-koha-indexdefs.xml >+++ b/etc/zebradb/marc_defs/marc21/authorities/authority-koha-indexdefs.xml >@@ -6,7 +6,7 @@ run the following command: > authority-zebra-indexdefs.xsl` > --> > <kohaidx:index_defs xmlns:kohaidx="http://www.koha-community.org/schemas/index-defs"> >- <id>marc:controlfield[@tag='001']</id> >+ <kohaidx:id>marc:controlfield[@tag='001']</kohaidx:id> > <!-- variables --> > <kohaidx:var name="form_subdivision_subfield">v</kohaidx:var> > <kohaidx:var name="general_subdivision_subfield">x</kohaidx:var> >diff --git a/etc/zebradb/marc_defs/unimarc/authorities/authority-koha-indexdefs.xml b/etc/zebradb/marc_defs/unimarc/authorities/authority-koha-indexdefs.xml >index 3dd486b..2695c94 100644 >--- a/etc/zebradb/marc_defs/unimarc/authorities/authority-koha-indexdefs.xml >+++ b/etc/zebradb/marc_defs/unimarc/authorities/authority-koha-indexdefs.xml >@@ -6,7 +6,7 @@ run the following command: > authority-zebra-indexdefs.xsl` > --> > <kohaidx:index_defs xmlns:kohaidx="http://www.koha-community.org/schemas/index-defs"> >- <id>marc:controlfield[@tag='001']</id> >+ <kohaidx:id>marc:controlfield[@tag='001']</kohaidx:id> > <!-- Original record ID --> > <kohaidx:index_control_field tag="001"> > <kohaidx:target_index>Local-Number:w</kohaidx:target_index> >-- >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 14453
:
40582
|
40626
|
40634
|
40635
|
40639
|
40838
|
40839