|
Lines 121-126
if ( C4::Context->preference( 'UseQueryParser' ) ) {
Link Here
|
| 121 |
} |
121 |
} |
| 122 |
} |
122 |
} |
| 123 |
|
123 |
|
|
|
124 |
# Test Zebra facets configuration |
| 125 |
if ( !defined C4::Context->config('use_zebra_facets') ) { |
| 126 |
push @xml_config_warnings, { error => 'use_zebra_facets_entry_missing' }; |
| 127 |
} else { |
| 128 |
if ( C4::Context->config('use_zebra_facets') && |
| 129 |
C4::Context->config('zebra_bib_index_mode') ) { |
| 130 |
# use_zebra_facets works with DOM |
| 131 |
push @xml_config_warnings, { |
| 132 |
error => 'use_zebra_facets_needs_dom' |
| 133 |
} if C4::Context->config('zebra_bib_index_mode') ne 'dom' ; |
| 134 |
} |
| 135 |
} |
| 136 |
|
| 124 |
$template->param( |
137 |
$template->param( |
| 125 |
kohaVersion => $kohaVersion, |
138 |
kohaVersion => $kohaVersion, |
| 126 |
osVersion => $osVersion, |
139 |
osVersion => $osVersion, |