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 102-109 if (C4::Context->preference('GoogleIndicTransliteration')) { Link Here
102
        $template->param('GoogleIndicTransliteration' => 1);
102
        $template->param('GoogleIndicTransliteration' => 1);
103
}
103
}
104
104
105
if (C4::Context->preference('OPACNumbersPreferPhrase')) {
106
        $template->param('numbersphr' => 1);
107
}
108
109
output_html_with_http_headers $input, $cookie, $template->output;
105
output_html_with_http_headers $input, $cookie, $template->output;
(-)a/opac/opac-search.pl (-4 lines)
Lines 380-388 if ( $template_type && $template_type eq 'advsearch' ) { Link Here
380
        }
380
        }
381
    }
381
    }
382
382
383
    if (C4::Context->preference('OPACNumbersPreferPhrase')) {
384
        $template->param('numbersphr' => 1);
385
    }
386
383
387
    output_html_with_http_headers $cgi, $cookie, $template->output;
384
    output_html_with_http_headers $cgi, $cookie, $template->output;
388
    exit;
385
    exit;
389
- 

Return to bug 19892