[Koha-bugs] [Bug 12812] Longoverdue.pl --mark-returned doesn't return items

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jul 15 13:26:19 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12812

Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jonathan.druart at bugs.koha-c
                   |                            |ommunity.org

--- Comment #1 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
How do you launch the cronjob?
It seems that the --charge option is required (or the pref) to mark the item as
returned.

I don't understand the following code:
185    ModItem({ itemlost => $lostvalue }, $row->{'biblionumber'},
$row->{'itemnumber'});
186    LostItem($row->{'itemnumber'}, $mark_returned) if( $charge && $charge eq
$lostvalue);

If the charge and the lostvalue don't match, the item won't be marked as
returned, so if it needs to be marked as returned, we should move the
MarkIssueReturned from the LostItem subroutine.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list