]> git.koha-community.org Git - koha.git/commit
Bug 12812: Longoverdue.pl --mark-returned doesn't return items
authorKyle M Hall <kyle@bywatetsolutions.com>
Thu, 8 Feb 2018 11:39:39 +0000 (06:39 -0500)
committerNick Clemens <nick@bywatersolutions.com>
Thu, 15 Mar 2018 08:38:56 +0000 (08:38 +0000)
commitc8f6a351aceabef991a3ee4a8efa9e37b4d246d7
tree07b711e2b0f22204390afc7821cabd707dedb00d
parent37d6bafcf8b8a1570a0344b9817eb6f95f23ce42
Bug 12812: Longoverdue.pl --mark-returned doesn't return items

The longoverdue.pl option --mark-returned doesn't work unless the
--charge option is used as well.

Test Plan:
1) Run long overdue with --mark-returned and not --charge,
   note your items are marked lost but not returned
2) Apply this patch
3) Repeat step 1, the items should now get returned!

Tested with (for example):
misc/cronjobs/longoverdue.pl --lost 10=1 --mark-returned --verbose
--confirm

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
misc/cronjobs/longoverdue.pl