Lines 93-108
Link Here
|
93 |
<!-- BOOLEAN SEARCH OPTIONS --> |
93 |
<!-- BOOLEAN SEARCH OPTIONS --> |
94 |
<fieldset id="searchterms"> |
94 |
<fieldset id="searchterms"> |
95 |
<legend>Search for </legend> |
95 |
<legend>Search for </legend> |
96 |
[% IF Koha.Preference('SearchEngine') == 'Elasticsearch' %] |
|
|
97 |
[% IF Koha.Preference('ElasticsearchMARCFormat') == 'ARRAY' %] |
98 |
<input type="checkbox" name="whole_record"> |
99 |
<label for="whole_record">Search entire MARC record</label> |
100 |
[% END %] |
101 |
<span id="weight_search"> |
102 |
<input type="checkbox" name="weight_search" checked> |
103 |
<label for="weight_search">Apply field weightings to search</label> |
104 |
</span> |
105 |
[% END %] |
106 |
[% FOREACH search_box IN search_boxes_loop %] |
96 |
[% FOREACH search_box IN search_boxes_loop %] |
107 |
[% IF ( search_boxes_label ) %]<div style="text-indent: 4.5em;">[% ELSE %]<div>[% END %] |
97 |
[% IF ( search_boxes_label ) %]<div style="text-indent: 4.5em;">[% ELSE %]<div>[% END %] |
108 |
[% IF ( expanded_options ) %] |
98 |
[% IF ( expanded_options ) %] |
Lines 126-131
Link Here
|
126 |
[% END %] |
116 |
[% END %] |
127 |
</div> |
117 |
</div> |
128 |
[% END %] |
118 |
[% END %] |
|
|
119 |
[% IF Koha.Preference('SearchEngine') == 'Elasticsearch' %] |
120 |
[% IF ( expanded_options ) %] |
121 |
<p> |
122 |
[% IF Koha.Preference('ElasticsearchMARCFormat') == 'ARRAY' %] |
123 |
<label><input type="checkbox" name="whole_record" /> Search entire MARC record</label> |
124 |
[% END %] |
125 |
<span id="weight_search"> |
126 |
<label><input type="checkbox" name="weight_search" checked="checked" /> Apply field weights to search</label> |
127 |
</span> |
128 |
<p> |
129 |
[% ELSE %] |
130 |
<input type="hidden" name="weight_search" value="1" /> |
131 |
[% END %] |
132 |
[% END %] |
129 |
</fieldset> |
133 |
</fieldset> |
130 |
<!-- /BOOLEAN SEARCH OPTIONS --> |
134 |
<!-- /BOOLEAN SEARCH OPTIONS --> |
131 |
|
135 |
|