Bug 38062 - If not using RecordLocalUseOnReturn, "Return" statistic is recorded regardless of whether item was checked out in the first place
Summary: If not using RecordLocalUseOnReturn, "Return" statistic is recorded regardles...
Status: In Discussion
Alias: None
Product: Koha
Classification: Unclassified
Component: Database (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on: 37505
Blocks:
  Show dependency treegraph
 
Reported: 2024-10-02 14:31 UTC by Emily Lamancusa (emlam)
Modified: 2024-10-02 14:35 UTC (History)
0 users

See Also:
GIT URL:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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