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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

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

Oliver Behnke <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #2 from Oliver Behnke <[hidden email]> ---
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.
_______________________________________________
Koha-bugs mailing list
[hidden email]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/