[Koha-bugs] [Bug 13703] batchRebuildBiblioTables.pl should also update from database to MARC Record.

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Feb 12 16:03:49 CET 2015


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

--- Comment #1 from Olli-Antti Kivilahti <olli-antti.kivilahti at jns.fi> ---
Created attachment 35877
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=35877&action=edit
Bug 13703 - batchRebuildBiblioTables.pl should also update from database to
MARC Record.

When adding a new column to biblio or biblioitems and populating it with legacy
data,
the MARC Record needs to be updated to match the values in DB, so they can be
indexed for searching.

Upgrading the batchRebuildBiblioTables.pl -script to make updates upstream (DB
columns to MARC Record)
and downstream (MARC Record to DB columns), based on the "Koha to MARC
mappings".

Also improves the batchRebuildBiblioTables.pl -script's documentation and
parameter handling.

TEST PLAN:

1. Add a new column to biblio or biblioitems-tables.
2. Map the column to "Koha to MARC mappings".
3. Define the mapped MARC Field as a new search index to Zebra and all the
relevant hassle what
   comes with defining a new search index.
4. Populate legacy data to the new DB column.
5. Run the batchRebuildBiblioTables.pl to update the MARC Records from the new
DB column.
6. Reindex the whole DB.
7. Make searches from your new index.
8. Split hairs :)

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list