[Koha-bugs] [Bug 21250] New: Auto-self-checkout not fully compatible with two-branch library setup
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Aug 20 10:58:50 CEST 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21250
Bug ID: 21250
Summary: Auto-self-checkout not fully compatible with
two-branch library setup
Change sponsored?: ---
Product: Koha
Version: 18.05
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: P5 - low
Component: Self checkout
Assignee: koha-bugs at lists.koha-community.org
Reporter: oliver.behnke at aei.mpg.de
QA Contact: testopia at bugs.koha-community.org
We use a two-branch library setup, both with auto-self-checkout enabled, so
patrons log in with their cardnumber via the pre-defined staff user account
(see below). The problem is that since the internal self-checkout user also has
to be assigned to exactly one branch, that branch will be used as "current
location" when a patron checks out a book. So, it's the self-service account's
branch that's used instead of the patron's/borrower's branch.
>From looking at the code it seems that C4::Circulation->AddIssue() is using
"C4::Context->userenv->{branch}" where "$borrower->{'branch'}" should probably
be used instead, since the current user's branch isn't relevant (even wrong) in
the auto-self-checkout context.
FYI, we use the following config (if relevant at all):
- Koha 18.05.01-2
- AutoSelfCheckAllowed: Allow (AutoSelfCheckID/AutoSelfCheckPass)
- CircControl: the library the item is from
- HomeOrHoldingBranch: the library the item is from
Thank you.
--
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