http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7000
Owen Leonard <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Templates |Searching AssignedTo|[email protected] |[email protected] --- Comment #1 from Owen Leonard <[email protected]> 2011-10-11 15:18:52 UTC --- Display of the library name seems to be tied to the HomeOrHoldingBranch pref? In Search.pm: my $hbranch = C4::Context->preference('HomeOrHoldingBranch') eq 'homebranch' ? 'homebranch' : 'holdingbranch'; my $otherbranch = C4::Context->preference('HomeOrHoldingBranch') eq 'homebranch' ? 'holdingbranch' : 'homebranch'; # set item's branch name, use HomeOrHoldingBranch syspref first, fall back to the other one if ($item->{$hbranch}) { $item->{'branchname'} = $branches{$item->{$hbranch}}; } elsif ($item->{$otherbranch}) { # Last resort $item->{'branchname'} = $branches{$item->{$otherbranch}}; } Why? -- 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. _______________________________________________ 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/
