]> git.koha-community.org Git - koha.git/commit
Bug 26583: Remove unneccessary code in AddIssue
authorNick Clemens <nick@bywatersolutions.com>
Thu, 1 Oct 2020 10:50:17 +0000 (10:50 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Sat, 14 Nov 2020 02:20:55 +0000 (02:20 +0000)
commite564d2e63b631edcfa7a7b9ae81b5aa8562de31b
tree7e98ab7fa8cde8ce2a2177439240e8c702dc1816
parent885791f964e8bcc359d5af70cf5309ee5dabeeb9
Bug 26583: Remove unneccessary code in AddIssue

The lines to calc due date are doubled

ModDateLastSeen is not needed as we set the item not lost and we can set
the date as we do for date last borrowed and save a DB store

Largely this is reading the code and confirming the changes make sense

To test:
1 - Apply patch
2 - Check out items, confirm it works as before
3 - prove -v t/db_dependent/Circulation.t

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 6e37dcafee872cdea378ba845ef49d702a3fbfc5)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
C4/Circulation.pm