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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt (-2 / +2 lines)
Lines 54-60 Link Here
54
                                        [% IF ( expanded_options ) %]
54
                                        [% IF ( expanded_options ) %]
55
                                            <option value="ti,phr">&nbsp;&nbsp;&nbsp;&nbsp; Title phrase</option>
55
                                            <option value="ti,phr">&nbsp;&nbsp;&nbsp;&nbsp; Title phrase</option>
56
                                            <option value="se,wrdl">Series title</option>
56
                                            <option value="se,wrdl">Series title</option>
57
                                            [% IF ( numbersphr) %]
57
                                            [% IF ( Koha.Preference('OPACNumbersPreferPhrase') ) %]
58
                                                <option value="callnum,phr">Call number</option>
58
                                                <option value="callnum,phr">Call number</option>
59
                                            [% ELSE %]
59
                                            [% ELSE %]
60
                                                <option value="callnum">Call number</option>
60
                                                <option value="callnum">Call number</option>
Lines 79-85 Link Here
79
                                        <option value="pb,wrdl">Publisher</option>
79
                                        <option value="pb,wrdl">Publisher</option>
80
                                        <option value="pl,wrdl">Publisher location</option>
80
                                        <option value="pl,wrdl">Publisher location</option>
81
                                        [% IF ( expanded_options ) %]
81
                                        [% IF ( expanded_options ) %]
82
                                            [% IF ( numbersphr) %]
82
                                            [% IF ( Koha.Preference('OPACNumbersPreferPhrase') ) %]
83
                                                <option value="sn,phr">Standard number</option>
83
                                                <option value="sn,phr">Standard number</option>
84
                                            [% ELSE %]
84
                                            [% ELSE %]
85
                                                <option value="sn">Standard number</option>
85
                                                <option value="sn">Standard number</option>
(-)a/opac/opac-main.pl (-4 lines)
Lines 95-102 if (C4::Context->preference('GoogleIndicTransliteration')) { Link Here
95
        $template->param('GoogleIndicTransliteration' => 1);
95
        $template->param('GoogleIndicTransliteration' => 1);
96
}
96
}
97
97
98
if (C4::Context->preference('OPACNumbersPreferPhrase')) {
99
        $template->param('numbersphr' => 1);
100
}
101
102
output_html_with_http_headers $input, $cookie, $template->output;
98
output_html_with_http_headers $input, $cookie, $template->output;
(-)a/opac/opac-search.pl (-4 lines)
Lines 377-385 if ( $template_type && $template_type eq 'advsearch' ) { Link Here
377
        }
377
        }
378
    }
378
    }
379
379
380
    if (C4::Context->preference('OPACNumbersPreferPhrase')) {
381
        $template->param('numbersphr' => 1);
382
    }
383
380
384
    output_html_with_http_headers $cgi, $cookie, $template->output;
381
    output_html_with_http_headers $cgi, $cookie, $template->output;
385
    exit;
382
    exit;
386
- 

Return to bug 19892