]> 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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 2 Nov 2020 10:03:08 +0000 (11:03 +0100)
commit6e37dcafee872cdea378ba845ef49d702a3fbfc5
tree64a7078a75ec00cdc56c0f3984de6445f30e0864
parentdc71c1ee48194574493d1b6b4488a09c649692d8
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>
C4/Circulation.pm