Bugzilla – Attachment 51001 Details for
Bug 12528
Enable staff to deny message setting access to patrons on the OPAC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 12528 - fix problem when insert OPACEnhancedMessagingPreferences
Bug-12528---fix-problem-when-insert-OPACEnhancedMe.patch (text/plain), 2.35 KB, created by
Jonathan Druart
on 2016-04-29 14:53:19 UTC
(
hide
)
Description:
Bug 12528 - fix problem when insert OPACEnhancedMessagingPreferences
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-04-29 14:53:19 UTC
Size:
2.35 KB
patch
obsolete
>From 1f85e1da934565f75eeb61aabb2905646f1131b7 Mon Sep 17 00:00:00 2001 >From: Bouzid Fergani <bouzid.fergani@inlibro.com> >Date: Mon, 28 Dec 2015 08:59:21 -0500 >Subject: [PATCH] Bug 12528 - fix problem when insert > OPACEnhancedMessagingPreferences > >Signed-off-by: Aleisha <aleishaamohia@hotmail.com> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > installer/data/mysql/atomicupdate/sysprefs_Bug12528.sql | 6 ++---- > .../intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref | 2 +- > 2 files changed, 3 insertions(+), 5 deletions(-) > >diff --git a/installer/data/mysql/atomicupdate/sysprefs_Bug12528.sql b/installer/data/mysql/atomicupdate/sysprefs_Bug12528.sql >index b711e47..db5275d 100644 >--- a/installer/data/mysql/atomicupdate/sysprefs_Bug12528.sql >+++ b/installer/data/mysql/atomicupdate/sysprefs_Bug12528.sql >@@ -1,4 +1,2 @@ >-INSERT INTO systempreferences ( variable, value, options, explanation,type ) VALUES >-('OPACEnhancedMessagingPreferences', '1', NULL, 'If ON, show patrons messaging setting on the OPAC.', 'YesNo') ON DUPLICATE KEY UPDATE value ='1'; >-INSERT INTO systempreferences ( variable, value, options, explanation,type ) VALUES >-('EnhancedMessagingPreferences', '1', NULL, 'If ON, allows patrons to select to receive additional messages about items due or nearly due.', 'YesNo') ON DUPLICATE KEY UPDATE value ='1'; >+INSERT INTO systempreferences ( value, variable, options, explanation,type ) >+select value ,'OPACEnhancedMessagingPreferences', NULL, 'If ON, allows patrons to select to receive additional messages about items due or nearly due.', 'YesNo' from systempreferences where variable='EnhancedMessagingPreferences'; >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref >index e5f8ec4..f4c7a88 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref >@@ -164,7 +164,7 @@ Patrons: > choices: > yes: Show > no: "Don't show" >- - "patron messaging setting on the OPAC (NOTE: EnhancedMessagingPreferences must be enabled)." >+ - "patron messaging setting on the OPAC (note: EnhancedMessagingPreferences must be enabled)." > > "Norwegian patron database": > - >-- >2.7.0
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 12528
:
29505
|
30259
|
30348
|
30349
|
30487
|
31047
|
36511
|
36512
|
36513
|
36818
|
44302
|
44820
|
44826
|
45885
|
45886
|
45962
|
46003
|
46015
|
46082
|
46156
|
46217
|
46218
|
50649
|
50650
|
50651
|
50652
|
50988
|
50989
|
51000
| 51001 |
51002
|
51003
|
51004