Bugzilla – Attachment 73338 Details for
Bug 19892
Replace numbersphr variable with Koha.Preference('OPACNumbersPreferPhrase') in OPAC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19892 (follow-up) Replace one more instance
Bug-19892-follow-up-Replace-one-more-instance.patch (text/plain), 2.03 KB, created by
Owen Leonard
on 2018-03-27 16:52:14 UTC
(
hide
)
Description:
Bug 19892 (follow-up) Replace one more instance
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2018-03-27 16:52:14 UTC
Size:
2.03 KB
patch
obsolete
>From e14630aff0b369a9ad1291c9173d8882caf0d4e4 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Tue, 27 Mar 2018 16:46:16 +0000 >Subject: [PATCH] Bug 19892 (follow-up) Replace one more instance > >This patch replaces one more instance of [% IF ( numbersphr ) %]. > >To test, apply the patch and view the source of the OPAC home page. > >With the OPACNumbersPreferPhrase system preference set to 'use,' you >should find this in the HTML source: > ><option value="callnum,phr">Call number</option> > >With the preference set to 'don't use,' you should find this: > ><option value="callnum">Call number</option> >--- > koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc >index 184ea27..f01513d 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc >@@ -196,7 +196,7 @@ > [% ELSE %] > <option value="se">Series</option> > [% END # /ms_se %] >- [% IF ( numbersphr ) %] >+ [% IF ( Koha.Preference('OPACNumbersPreferPhrase') ) %] > [% IF ( ms_callnum ) %] > <option selected="selected" value="callnum,phr">Call number</option> > [% ELSE %] >@@ -208,7 +208,7 @@ > [% ELSE %] > <option value="callnum">Call number</option> > [% END # /ms_callnum %] >- [% END # /numbersphr %] >+ [% END # /IF OPACNumbersPreferPhrase %] > </select> > > [% UNLESS ( Koha.Preference( 'OpacAddMastheadLibraryPulldown' ) == 1 ) %] >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 19892
:
70660
|
73061
|
73076
|
73338
|
73506
|
73507