Bug 7526 - longoverdue.pl leaves items marked as lost as still checked out to patron
authorKyle M Hall <kyle@bywatersolutions.com>
Fri, 10 Feb 2012 15:12:20 +0000 (10:12 -0500)
committerPaul Poulain <paul.poulain@biblibre.com>
Tue, 20 Mar 2012 10:22:52 +0000 (11:22 +0100)
commit24dc37a4906eaed9e113d717c6c9bb963c0cf854
tree86e455b48802c1c25bf3d8e867e69bea5ca0383f
parent9f7e340f82f8e430389683153ddf300c9a64c2a0
Bug 7526 - longoverdue.pl leaves items marked as lost as still checked out to patron

When the longoverdu.pl script is run, and it marks an item as lost ( using
LostItem() ), if fails to remove the item from the borrower record. So, the
item is marked as lost, but is also still listed as checked out to the
borrower.

This commit adds the command line parameter --mark-returned. If used,
longoverdue.pl will remove lost items from the borrowers record.
Functionality will remain the same if it is not used.

Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>
http://bugs.koha-community.org/show_bug.cgi?id=7426
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
misc/cronjobs/longoverdue.pl