[Koha-bugs] [Bug 7581] Holds not working in OPAC in singlebranchmode

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Mar 19 22:01:25 CET 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7581

--- Comment #6 from Maxime Pelletier <pelletiermaxime at gmail.com> ---
Sorry, here are more details.
You can see in the code :

if ($singleBranchMode || ! $OPACChooseBranch) { # single branch mode or
disabled user choosing

Without my patch, singleBranchMode is always 0, so if
OPACAllowUserToChooseBranch is 0, then no branch is ever set and the code
doesn't work.

So to reproduce set OPACAllowUserToChooseBranch to "Don't allow". The bug is
present when users can't choose the branch and the code use the borrowers's
defautl branch.

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


More information about the Koha-bugs mailing list