Lines 570-577
sub getRecords {
Link Here
|
570 |
|
570 |
|
571 |
# if it's a branch, label by the name, not the code, |
571 |
# if it's a branch, label by the name, not the code, |
572 |
if ( $link_value =~ /branch/ ) { |
572 |
if ( $link_value =~ /branch/ ) { |
573 |
$facet_label_value = |
573 |
if (defined $branches |
574 |
$branches->{$one_facet}->{'branchname'}; |
574 |
&& ref($branches) eq "HASH" |
|
|
575 |
&& defined $branches->{$one_facet} |
576 |
&& ref ($branches->{$one_facet}) eq "HASH") |
577 |
{ |
578 |
$facet_label_value = |
579 |
$branches->{$one_facet}->{'branchname'}; |
580 |
} |
581 |
else { |
582 |
$facet_label_value = "*"; |
583 |
} |
575 |
} |
584 |
} |
576 |
|
585 |
|
577 |
# but we're down with the whole label being in the link's title. |
586 |
# but we're down with the whole label being in the link's title. |
578 |
- |
|
|