[Koha-bugs] [Bug 13552] Add debar option to batch patron modification
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Sep 2 15:49:26 CEST 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13552
Fridolin SOMERS <fridolin.somers at biblibre.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fridolin.somers at biblibre.co
| |m
--- Comment #15 from Fridolin SOMERS <fridolin.somers at biblibre.com> ---
I think there is a problem.
$infos->{debarred} is used by AddDebarment() but also in Koha::Patrons->find(
$borrowernumber )->set($infos)->store.
In this case borrowers.debarred in DB with get the entered date, even if there
is an existing debarment with a greater date. This column must be set only by
Patron::Debarments.
I think $infos->{debarred} must be deleted after beeing used by AddDebarment().
Same for debarredcomment.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list