[Koha-bugs] [Bug 27837] Permanent location is reverted to location when location updated and permanent_location mapped to MARC field

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu May 6 14:12:44 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27837

--- Comment #33 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 120616
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=120616&action=edit
Bug 27837: Check the MARC directly, not the transformed item

If permanent location is mapped, it will exist in the MARC.
However, when we are transforming our item hash to MARC,
we are losing our permanent location mapping, at least in unit tests.

By checking the original MARC for the permenent location, we remove the
risk of losing it the "empty" permenent location through the
transformation process. We only need to know that it existed in the
original item marc to know we need to update it in the database.

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


More information about the Koha-bugs mailing list