[Koha-bugs] [Bug 24460] New: Modifying item's lost state returns issued item without it being logged

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jan 20 13:28:48 CET 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24460

            Bug ID: 24460
           Summary: Modifying item's lost state returns issued item
                    without it being logged
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P5 - low
         Component: Cataloging
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: joonas.kylmala at helsinki.fi
        QA Contact: testopia at bugs.koha-community.org
                CC: m.de.rooy at rijksmuseum.nl

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.

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


More information about the Koha-bugs mailing list