]> 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:47 +0000 (09:23 -0400)
commit439221c1c5a72f55c8b91dc4db119d462b7dad4a
treee585213fb457fe1dd66a846d17819dbc3f55cf02
parent055c09fc2de20bbf0f5c2600e7dbeb32e491ae7e
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>
(cherry picked from commit a4e844369106f0713123c8a2ecec12b0ed7b0027)

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
misc/migration_tools/rebuild_zebra_sliced.sh