[Koha-bugs] [Bug 10060] Self Checkout module does not honour circ control

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Aug 10 10:00:48 CEST 2018


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

Oliver Behnke <oliver.behnke at aei.mpg.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |oliver.behnke at aei.mpg.de

--- Comment #2 from Oliver Behnke <oliver.behnke at aei.mpg.de> ---
For us it's the other way round: we use a two-library-setup, both with
auto-self-checkout enabled (based on cardnumber). 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 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):
- CircControl: the library the item is from
- HomeOrHoldingBranch: the library the item is from

Shall I open a dedicated bug report for that I do we (re)use this one...?

Thanks!

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


More information about the Koha-bugs mailing list