If the sub MarkIssueReturned is called it returns checked-in item without logging it to action_logs table: > # And finally delete the issue > $issue->delete; Elsewhere in the codebase returns are logged: > logaction("CIRCULATION", "RETURN", $borrowernumber, $item->itemnumber) > if C4::Context->preference("ReturnLog"); MarkIssueReturned should also log the return to action log so that if any mistakes are made when changing the item status to lost or not lost they can be tracked by the librarians. MarkIssueReturned() gets called by the web page catalogue/updateitem.pl if the lost status is changed.
+1 on this. Logging returns due to an item being marked lost would make a much cleaner data trail.
Additionally, we should make sure this also logs the end of an issue when a lost fee is paid / written off, for libraries that are not marking lost items as returned when they go to lost.