[Koha-bugs] [Bug 18966] Move of checkouts - Deal with duplicate IDs at DBMS level

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Sep 14 11:35:01 CEST 2017


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

--- Comment #34 from Colin Campbell <colin.campbell at ptfs-europe.com> ---
(In reply to Jonathan Druart from comment #32)
> Looks like the "update the fines" part should be removed (it should not
> hurt, no side-effects expected);
> 
> 2177         # Update the fines
> 2178         $dbh->do(q|UPDATE accountlines SET issue_id = ? WHERE issue_id
> = ?|, undef, $old_checkout->issue_id, $issue->issue_id);

Yes its a hangover from the stage when the code was changing issue_id in
issues, its now at best a waste of cpu cycles

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


More information about the Koha-bugs mailing list