Reverting this commit to resolve bug 4016. This revert has the
same effect as a patch submitted by Garry Collum on 20 February 2010.
This reverts commit
2345dc7c27381aad51d5c1a7f566a9ce0b728ac5.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
my $onlymine = @_ ? shift : onlymine();
my $branches = GetBranches($onlymine);
my @loop;
- my $searchMyLibraryFirst = C4::Context->preference("SearchMyLibraryFirst");;
foreach (sort { $branches->{$a}->{branchname} cmp $branches->{$b}->{branchname} } keys %$branches) {
push @loop, {
value => $_,
- selected => (($_ eq $branch) && $searchMyLibraryFirst ) ? 1 : 0,
+ selected => ($_ eq $branch) ? 1 : 0,
branchname => $branches->{$_}->{branchname},
};
}