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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc (-3 / +3 lines)
Lines 191-201 Link Here
191
                                    <option value="se">Series</option>
191
                                    <option value="se">Series</option>
192
                                [% END # /ms_se %]
192
                                [% END # /ms_se %]
193
                                [% IF ( Koha.Preference('OPACNumbersPreferPhrase') ) %]
193
                                [% IF ( Koha.Preference('OPACNumbersPreferPhrase') ) %]
194
                                    [% IF ( ms_callnum ) %]
194
                                    [% IF ( ms_callnumcommaphr ) %]
195
                                            <option selected="selected" value="callnum,phr">Call number</option>
195
                                        <option selected="selected" value="callnum,phr">Call number</option>
196
                                    [% ELSE %]
196
                                    [% ELSE %]
197
                                        <option value="callnum,phr">Call number</option>
197
                                        <option value="callnum,phr">Call number</option>
198
                                    [% END #/ms_callnum %]
198
                                    [% END #/ms_callnumcommaphr %]
199
                                [% ELSE %]
199
                                [% ELSE %]
200
                                    [% IF ( ms_callnum ) %]
200
                                    [% IF ( ms_callnum ) %]
201
                                        <option selected="selected" value="callnum">Call number</option>
201
                                        <option selected="selected" value="callnum">Call number</option>
(-)a/opac/opac-search.pl (-2 / +4 lines)
Lines 457-463 my @indexes = $cgi->multi_param('idx'); Link Here
457
457
458
# if a simple index (only one)  display the index used in the top search box
458
# if a simple index (only one)  display the index used in the top search box
459
if ($indexes[0] && !$indexes[1]) {
459
if ($indexes[0] && !$indexes[1]) {
460
    $template->param("ms_".$indexes[0] => 1);
460
    my $idx = "ms_".$indexes[0];
461
    $idx =~ s/\,/comma/g;  # template toolkit doesn't like variables with a , in it
462
    $idx =~ s/-/dash/g;  # template toolkit doesn't like variables with a dash in it
463
    $template->param($idx => 1);
461
}
464
}
462
# an operand can be a single term, a phrase, or a complete ccl query
465
# an operand can be a single term, a phrase, or a complete ccl query
463
my @operands = $cgi->multi_param('q');
466
my @operands = $cgi->multi_param('q');
464
- 

Return to bug 23122