]> git.koha-community.org Git - koha.git/commit
Bug 8746: Fix indexation in DOM index mode
authorJulian Maurice <julian.maurice@biblibre.com>
Fri, 11 Jan 2013 10:57:41 +0000 (11:57 +0100)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Sun, 21 Apr 2013 13:23:22 +0000 (09:23 -0400)
commita4e844369106f0713123c8a2ecec12b0ed7b0027
treede377dbf9cfaea3fd78c65e3e94dc8c7c4ad1171
parenteef4b3f23c0b4558bd2a87af009f39012393994c
Bug 8746: Fix indexation in DOM index mode

When in DOM index mode, files exported by `rebuild_zebra.pl -x` are
wrapped by '<collection></collection>' tag.
This is a problem because splitting files produces invalid files.
This is fixed by adding the missing <collection> tags in each generated
file.
Another problem was that the wrong zebra configuration file was used.
The script now uses C4::Context->zebraconfig($server)->{config} to know
which configuration file has to be used.

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
misc/migration_tools/rebuild_zebra_sliced.sh