View | Details | Raw Unified | Return to bug 13212
Collapse All | Expand All

(-)a/C4/Search.pm (-8 lines)
Lines 535-548 sub getRecords { Link Here
535
535
536
                                # fix the length that will display in the label,
536
                                # fix the length that will display in the label,
537
                                my $facet_label_value = $one_facet;
537
                                my $facet_label_value = $one_facet;
538
                                my $facet_max_length  = C4::Context->preference(
539
                                    'FacetLabelTruncationLength')
540
                                  || 20;
541
                                $facet_label_value =
542
                                  substr( $one_facet, 0, $facet_max_length )
543
                                  . "..."
544
                                  if length($facet_label_value) >
545
                                      $facet_max_length;
546
538
547
                            # if it's a branch, label by the name, not the code,
539
                            # if it's a branch, label by the name, not the code,
548
                                if ( $link_value =~ /branch/ ) {
540
                                if ( $link_value =~ /branch/ ) {
(-)a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css (-1 / +9 lines)
Lines 1538-1543 li.email { Link Here
1538
	font-size : 85%;
1538
	font-size : 85%;
1539
	margin-bottom : 2px;
1539
	margin-bottom : 2px;
1540
	padding : .1em .2em;
1540
	padding : .1em .2em;
1541
    text-overflow : ellipsis;
1542
    white-space : nowrap;
1543
    overflow : hidden;
1544
}
1545
1546
#search-facets li#availability_facet li {
1547
    text-overflow : clip;
1548
    white-space : normal;
1549
    overflow : visible;
1541
}
1550
}
1542
1551
1543
#search-facets li.showmore {
1552
#search-facets li.showmore {
1544
- 

Return to bug 13212