Bug 38062

Summary: If not using RecordLocalUseOnReturn, "Return" statistic is recorded regardless of whether item was checked out in the first place
Product: Koha Reporter: Emily Lamancusa (emlam) <emily.lamancusa>
Component: DatabaseAssignee: Bugs List <koha-bugs>
Status: In Discussion --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low    
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9717
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on: 37505    
Bug Blocks:    

Description Emily Lamancusa (emlam) 2024-10-02 14:31:49 UTC
Checking in a book will always add a "return" stat to the statistics table, even if the book was not checked out in the first place. The only exception is if a "localuse" stat is recorded instead (when RecordLocalUseOnReturn is enabled).

It seems to me that a return should only be recorded if the item was actually checked out in the first place. This has been the behavior for a while, though, so we should get feedback from libraries before changing it.

One thing that has been mentioned is that the "return" statistic can be useful for capturing things like an item being scanned to fill an on-shelf hold. Should we make a new statistics type for local handling like that, which some libraries might want to track but others might not want to count as a circulation stat? Use action_logs to track that sort of thing instead? See also bug 9717 for a similar discussion regarding the "localuse" stat