https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15187

--- Comment #10 from David Cook <dc...@prosentient.com.au> ---
Oh... actually this looks like it might be very difficult to do within the
community model without making substantial changes to
./etc/zebradb/xsl/koha-indexdefs-to-zebra.xsl and
./etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml. These files
were designed with too simple a logic in mind.

I'm sorry but I don't have the resources to make those systematic architectural
changes.

I'm planning instead to locally customize
./etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl to have
customized "match" attributes.

For example:

Replacing the following:
<xslo:template mode="index_data_field" match="marc:datafield[@tag='245']">

With the following:
<xslo:template mode="index_data_field" match="marc:datafield[@tag='245' or
(@tag='880' and (marc:subfield[@code=6 and substring(text(),1,3)='245']))]">

While at a glance it's a very simple change, it's impossible to make that
change using ./etc/zebradb/xsl/koha-indexdefs-to-zebra.xsl and
./etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml to create
./etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to