@@ -, +, @@ --- C4/Koha.pm | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) --- a/C4/Koha.pm +++ a/C4/Koha.pm @@ -730,6 +730,11 @@ sub getFacets { tags => [ qw/ 225a / ], sep => ', ', }, + { + idx => 'location', + label => 'Location', + tags => [ qw/ 995c / ], + } ]; my $library_facet; @@ -739,12 +744,6 @@ sub getFacets { label => 'Libraries', tags => [ qw/ 995b / ], }; - } else { - $library_facet = { - idx => 'location', - label => 'Location', - tags => [ qw/ 995c / ], - }; } push( @$facets, $library_facet ); } @@ -792,6 +791,11 @@ sub getFacets { tags => [ qw/ 952y 942c / ], sep => ', ', }, + { + idx => 'location', + label => 'Location', + tags => [ qw / 952c / ], + }, ]; my $library_facet; @@ -801,12 +805,6 @@ sub getFacets { label => 'Libraries', tags => [ qw / 952b / ], }; - } else { - $library_facet = { - idx => 'location', - label => 'Location', - tags => [ qw / 952c / ], - }; } push( @$facets, $library_facet ); } --