]> 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>
Fri, 6 Apr 2018 17:15:03 +0000 (17:15 +0000)
commit93c5c8e4c85ed3330184de2c6ea06ab73803656b
tree08f8fd5aebf97bee1bd9fc16700c3666b5278f49
parent7c55ea5917998bc210d3ee632f0a8ea6beefff5f
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