[Koha-bugs] [Bug 4222] Nonpublic note not appearing in the staff client

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Aug 4 13:25:15 CEST 2011


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=4222

--- Comment #25 from Paul Poulain <paul.poulain at 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.


More information about the Koha-bugs mailing list