This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".
The branch, master has been updated
via 189851fb9bbc831bb2875c2c440877c2562583d0 (commit)
from 46d3ec264c4e46cc73ee1713b5c39e6c564e5a1a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 189851fb9bbc831bb2875c2c440877c2562583d0
Author: Jonathan Druart <[email protected]>
Date: Thu Jul 9 10:52:11 2020 +0200
Bug 25964: Prevent data loss when editing items from a MARC record
Coming from:
Bug 23463: Use new method Koha::Object->set_or_blank
We have DB fields that are not mapped with MARC fields, for instance
paidfor. They are not handled correctly.
In ModItemFromMarc, we get a MARC record in parameter and update the item
in DB. But we are loosing the fields that are not in the MARC record
Signed-off-by: Victor Grousset/tuxayo <[email protected]>
Signed-off-by: Martin Renvoize <[email protected]>
Signed-off-by: Tomas Cohen Arazi <[email protected]>
-----------------------------------------------------------------------
Summary of changes:
C4/Items.pm | 13 +++++++++++++
t/db_dependent/Items.t | 10 +++++++---
2 files changed, 20 insertions(+), 3 deletions(-)
hooks/post-receive
--
main Koha release repository
_______________________________________________
koha-commits mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-commits