@@ -, +, @@ --- C4/Koha.pm | 10 ++++++++++ etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml | 3 +++ .../marc_defs/normarc/biblios/biblio-koha-indexdefs.xml | 3 +++ .../marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml | 6 ++++++ koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc | 2 +- koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc | 6 +++--- 6 files changed, 26 insertions(+), 4 deletions(-) --- a/C4/Koha.pm +++ a/C4/Koha.pm @@ -520,6 +520,11 @@ sub getFacets { idx => 'location', label => 'Location', tags => [ qw/ 995e / ], + }, + { + idx => 'ccode', + label => 'CollectionCodes', + tags => [ qw / 099t 955h / ], } ]; @@ -602,6 +607,11 @@ sub getFacets { label => 'Location', tags => [ qw / 952c / ], }, + { + idx => 'ccode', + label => 'CollectionCodes', + tags => [ qw / 9528 / ], + } ]; unless ( Koha::Libraries->search->count == 1 ) --- a/etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml +++ a/etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml @@ -1409,5 +1409,8 @@ itype:0 + + ccode:0 + --- a/etc/zebradb/marc_defs/normarc/biblios/biblio-koha-indexdefs.xml +++ a/etc/zebradb/marc_defs/normarc/biblios/biblio-koha-indexdefs.xml @@ -1008,5 +1008,8 @@ itype:0 + + ccode:0 + --- a/etc/zebradb/marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml +++ a/etc/zebradb/marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml @@ -1444,6 +1444,9 @@ totalissues:s + + ccode:0 + se:0 @@ -1498,5 +1501,8 @@ location:0 + + ccode:0 + --- a/koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc +++ a/koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc @@ -21,7 +21,7 @@ [% IF ( facets_loo.type_label_HomeLibrary ) %]Home libraries[% END %] [% IF ( facets_loo.type_label_HoldingLibrary ) %]Holding libraries[% END %] [% IF facets_loo.type_label_Location %]Locations[% END %] -[% IF facets_loo.type_label_CollectionCodes %]Collections[% END %] +[% IF facets_loo.type_label_CollectionCodes %]Collections[% END %]