bugfix to limit search to branch in OPAC

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
Paul POULAIN 2007-11-12 12:13:19 -06:00 committed by Joshua Ferraro
parent c846ed00db
commit 321f3694c4

View file

@ -224,7 +224,7 @@ for my $branch_hash (sort keys %$branches ) {
my $selected=(C4::Context->userenv && ($branch_hash eq C4::Context->userenv->{branch})) if (C4::Context->preference('SearchMyLibraryFirst'));
push @branch_loop,
{
value => "branch: $branch_hash",
value => "homebranch:$branch_hash",
branchname => $branches->{$branch_hash}->{'branchname'},
selected => $selected
};