http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=4222
--- Comment #25 from Paul Poulain <paul.poul...@biblibre.com> 2011-08-04 11:25:15 UTC --- Created attachment 4836 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=4836 Script to rebuild items after a mapping change Here is the script we have developed, and, good news, it's generic What it does : * foreach MARC::Record in the biblioitems.marcxml * foreach item located in the MARC::Record * rebuild the item hash & the unlinked_items_subfields * save the item It means this script consider temporarily that what is in the marc::record is authoritative (in Koha, it's what is in items that is authoritative usually) If it helps, this script could be added into misc/maintenance I think The limit of this script : result in a zebra reindexing, so can be quite slow. A good way to circumvent this problem is to suspend the crontabed rebuild_zebra during execution of this script, then full rebuild_zebra.pl, then reactivate it. -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/