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

(-)a/C4/Search.pm (-3 / +2 lines)
Lines 567-573 sub getRecords { Link Here
567
                          )
567
                          )
568
                        {
568
                        {
569
                            $number_of_facets++;
569
                            $number_of_facets++;
570
                            if (   ( $number_of_facets < 6 )
570
                            if (   ( $number_of_facets <= 5 )
571
                                || ( $expanded_facet eq $link_value )
571
                                || ( $expanded_facet eq $link_value )
572
                                || ( $facets_info->{$link_value}->{'expanded'} )
572
                                || ( $facets_info->{$link_value}->{'expanded'} )
573
                              )
573
                              )
Lines 644-650 sub getRecords { Link Here
644
                        # handle expanded option
644
                        # handle expanded option
645
                        unless ( $facets_info->{$link_value}->{'expanded'} ) {
645
                        unless ( $facets_info->{$link_value}->{'expanded'} ) {
646
                            $expandable = 1
646
                            $expandable = 1
647
                              if ( ( $number_of_facets > 6 )
647
                              if ( ( $number_of_facets > 5 )
648
                                && ( $expanded_facet ne $link_value ) );
648
                                && ( $expanded_facet ne $link_value ) );
649
                        }
649
                        }
650
                        push @facets_loop,
650
                        push @facets_loop,
651
- 

Return to bug 11796