http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7001
--- Comment #42 from Srdjan Jankovic <[email protected]> 2012-01-18 00:46:26 UTC --- >From what I can see it's been like that since 2009. This is the branch selection sub: sub _GetCircControlBranch { my ($item, $borrower) = @_; my $circcontrol = C4::Context->preference('CircControl'); my $branch; if ($circcontrol eq 'PickupLibrary') { $branch= C4::Context->userenv->{'branch'} if C4::Context->userenv; } elsif ($circcontrol eq 'PatronLibrary') { $branch=$borrower->{branchcode}; } else { my $branchfield = C4::Context->preference('HomeOrHoldingBranch') || 'homebranch'; $branch = $item->{$branchfield}; # default to item home branch if holdingbranch is used # and is not defined if (!defined($branch) && $branchfield eq 'holdingbranch') { $branch = $item->{homebranch}; } } return $branch; } -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug. You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] 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/
