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

(-)a/C4/Search.pm (-2 / +4 lines)
Lines 634-642 sub GetFacets { Link Here
634
    my $rs = shift;
634
    my $rs = shift;
635
    my $facets;
635
    my $facets;
636
636
637
    my $index_mode = C4::Context->config('zebra_auth_index_mode') // 'dom';
637
    my $indexing_mode    = C4::Context->config('zebra_bib_index_mode') // 'dom';
638
    my $use_zebra_facets = C4::Context->config('use_zebra_facets') // 0;
638
639
639
    if ( $index_mode eq 'dom' ) {
640
    if ( $indexing_mode eq 'dom' &&
641
         $use_zebra_facets ) {
640
        $facets = _get_facets_from_zebra( $rs );
642
        $facets = _get_facets_from_zebra( $rs );
641
    } else {
643
    } else {
642
        $facets = _get_facets_from_records( $rs );
644
        $facets = _get_facets_from_records( $rs );
(-)a/debian/templates/koha-conf-site.xml.in (+1 lines)
Lines 281-286 Link Here
281
 <zebra_bib_index_mode>__BIBLIOS_INDEXING_MODE__</zebra_bib_index_mode>
281
 <zebra_bib_index_mode>__BIBLIOS_INDEXING_MODE__</zebra_bib_index_mode>
282
 <zebra_auth_index_mode>__AUTHORITIES_INDEXING_MODE__</zebra_auth_index_mode>
282
 <zebra_auth_index_mode>__AUTHORITIES_INDEXING_MODE__</zebra_auth_index_mode>
283
 <zebra_lockdir>/var/lock/koha/__KOHASITE__</zebra_lockdir>
283
 <zebra_lockdir>/var/lock/koha/__KOHASITE__</zebra_lockdir>
284
 <use_zebra_facets>1</use_zebra_facets>
284
 <queryparser_config>/etc/koha/searchengine/queryparser.yaml</queryparser_config>
285
 <queryparser_config>/etc/koha/searchengine/queryparser.yaml</queryparser_config>
285
</config>
286
</config>
286
287
(-)a/etc/koha-conf.xml (-1 / +1 lines)
Lines 112-117 __PAZPAR2_TOGGLE_XML_POST__ Link Here
112
 <zebra_bib_index_mode>__BIB_INDEX_MODE__</zebra_bib_index_mode>
112
 <zebra_bib_index_mode>__BIB_INDEX_MODE__</zebra_bib_index_mode>
113
 <zebra_auth_index_mode>__AUTH_INDEX_MODE__</zebra_auth_index_mode>
113
 <zebra_auth_index_mode>__AUTH_INDEX_MODE__</zebra_auth_index_mode>
114
 <zebra_lockdir>__ZEBRA_LOCK_DIR__</zebra_lockdir>
114
 <zebra_lockdir>__ZEBRA_LOCK_DIR__</zebra_lockdir>
115
 <use_zebra_facets>1</use_zebra_facets>
115
 <queryparser_config>__KOHA_CONF_DIR__/searchengine/queryparser.yaml</queryparser_config>
116
 <queryparser_config>__KOHA_CONF_DIR__/searchengine/queryparser.yaml</queryparser_config>
116
117
117
 <!-- true type font mapping accoding to type from $font_types in C4/Creators/Lib.pm -->
118
 <!-- true type font mapping accoding to type from $font_types in C4/Creators/Lib.pm -->
118
- 

Return to bug 11232