http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8252
--- Comment #37 from mathieu saby <[email protected]> --- I applied all my patches, then yours, and I run xsltproc. I make a diff between the resulting zebra xsl files A lot of changes like this one : - <xslo:value-of select="substring(., 8, 1)"/> + <xslo:value-of select="substring(., 9, 1)"/> A new template called : + <xslo:apply-templates mode="index_all"/> [...] - <xslo:template match="*"> + <xslo:template mode="index_all" match="text()"> So, first point, your patch is working well ;-) For the positions : Ex : pubdate In the manual (which starts counting position from 0) : position 8, length 1 http://multimedia.bnf.fr/unimarcb_trad/B100-6-2010.pdf So I suppose it must be position 8 in koha-xml file, and position 9 in zebra-xsl file. That's what we get. I copied the resulting koha-xsl file into my INSTALLDIR/etc/zebradb/marc_defs/unimarc/biblios/ Then I ran rebuild_zebra.pl -x -b -v -r I did some advanced searches with coded fields, it seems to work. Of course, I won't sign off by myself... So, for the moment, I sign off your patch. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://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/
