https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44130
Bug ID: 44130
Summary: Make RecordLocalUseOnReturn granular: not every
unissued check-in is local use
Initiative type: ---
Sponsorship ---
status:
Product: Koha
Version: Main
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Circulation
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected], [email protected]
Depends on: 42383
Target Milestone: ---
RecordLocalUseOnReturn is a single on/off switch: when it is on, every check-in
of an item that is not checked out is recorded as a local use (the item's
localuse counter is incremented, the statistics row has type 'localuse' instead
of 'return', and the check-in is flagged local_use). It does not look at why
the item was checked in.
Check-in is used for much more than "someone used this item in the library and
it is being put back". Examples where recording a local use may be wrong:
- receiving an item that was in transit (transfer arrival)
- triggering the hold found / waiting notice for a hold
- finding the item for a recall
- receiving new material after it was ordered (UpdateNotForLoanStatusOnCheckin,
UpdateItemLocationOnCheckin)
- SIP and self check-in units, inventory, and the REST API, which all go
through AddReturn
For many of these a local use may not be appropriate: nobody used the item, so
the counts and statistics can be inflated. The preference cannot distinguish
them.
Proposal (this bug is about choosing and doing one of these):
A. Make the preference a choice of three:
- Don't record (as now)
- Record every check-in of an item that is not checked out (what "Record"
does now, and the value existing installations keep)
- Record only when the check-in does nothing else: the item is checked in at
the library that holds it, it is not checked out, and it does not start a
transfer, complete one, fill or find a hold, find a recall or change the item's
status or location.
B. Keep Record / Don't record and add a second preference, a list of the
actions that must not stop a check-in from being recorded as a local use.
Option A is simpler to explain to library staff; option B is more flexible.
Either needs an atomic update that keeps the current behaviour for existing
installations.
Where it happens: C4::Circulation::AddReturn, two places (the normal path, and
the BlockReturnOfWithdrawnItems early return, which records a local use as
well). Found while working on the check-in page of Bug 42383, which now shows
"Local use recorded." as an alert; the behaviour itself is older and is not
changed there.
Referenced Bugs:
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42383
[Bug 42383] Migrate check-in page to Vue
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/