Bugzilla – Attachment 1796 Details for
Bug 4036
Two conditions missing from circ template messages: USERBLOCKEDOVERDUE and USERBLOCKEDREMAINING
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bugfix patch - Database Update
0002-BugFix-4036-Part-2-Sysprefs-Update.patch (text/plain), 4.07 KB, created by
Chris Cormack
on 2010-03-03 15:21:00 UTC
(
hide
)
Description:
Bugfix patch - Database Update
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2010-03-03 15:21:00 UTC
Size:
4.07 KB
patch
obsolete
>From cb163309cc81ae5a2f1055fdaba5301abc29fadd Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle.m.hall@gmail.com> >Date: Wed, 3 Mar 2010 10:17:14 -0500 >Subject: [PATCH] BugFix 4036 - Part 2 - Sysprefs Update > >--- > installer/data/mysql/en/mandatory/sysprefs.sql | 1 + > .../1-Obligatoire/unimarc_standard_systemprefs.sql | 1 + > installer/data/mysql/updatedatabase.pl | 7 +++++++ > 3 files changed, 9 insertions(+), 0 deletions(-) > >diff --git a/installer/data/mysql/en/mandatory/sysprefs.sql b/installer/data/mysql/en/mandatory/sysprefs.sql >index 7cbbe9b..67bd262 100644 >--- a/installer/data/mysql/en/mandatory/sysprefs.sql >+++ b/installer/data/mysql/en/mandatory/sysprefs.sql >@@ -283,3 +283,4 @@ INSERT INTO systempreferences (variable,value,explanation,options,type)VALUES('A > INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('AutoSelfCheckID','','Staff ID with circulation rights to be used for automatic web-based self-check. Only applies if AutoSelfCheckAllowed syspref is turned on.','','free'); > INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('AutoSelfCheckPass','','Password to be used for automatic web-based self-check. Only applies if AutoSelfCheckAllowed syspref is turned on.','','free'); > INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('soundon','0','Enable circulation sounds during checkin and checkout in the staff interface. Not supported by all web browsers yet.','','YesNo'); >+INSERT INTO `systempreferences` (variable,value,options,explanation,type) VALUES ('AllowIssuingForPatronsWithOverdues', '1', NULL , 'If enabled, a patron can be issued items even if the patron has overdue items.', 'YesNo'); >diff --git a/installer/data/mysql/fr-FR/1-Obligatoire/unimarc_standard_systemprefs.sql b/installer/data/mysql/fr-FR/1-Obligatoire/unimarc_standard_systemprefs.sql >index 2ee92a8..d9fd634 100644 >--- a/installer/data/mysql/fr-FR/1-Obligatoire/unimarc_standard_systemprefs.sql >+++ b/installer/data/mysql/fr-FR/1-Obligatoire/unimarc_standard_systemprefs.sql >@@ -286,3 +286,4 @@ INSERT INTO systempreferences (variable,value,explanation,options,type)VALUES('A > INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('AutoSelfCheckID','','Identifiant Bibliothécaire avec droits de circulation qui sera utilisé pour les prêt auto-contré. Ne s''applique que dans les cas de l''activation de la préférence AutoSelfCheckout.','','free'); > INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('AutoSelfCheckPass','','Mot de passe utilisé pour le prêt autocontrôlé. Ne s''applique que dans le cas de l''activation de la préférence AutoSelfCheckout.','','free'); > INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('soundon','0','Activer les événements sonores de circulation pendant le prêt et le retour dans l''intranet. N''est pas encore supporté par tous les navigateurs web.','','YesNo'); >+INSERT INTO `systempreferences` (variable,value,options,explanation,type) VALUES ('AllowIssuingForPatronsWithOverdues', '1', NULL , 'If enabled, a patron can be issued items even if the patron has overdue items.', 'YesNo'); >diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl >index e6f3f9f..4e57c9c 100755 >--- a/installer/data/mysql/updatedatabase.pl >+++ b/installer/data/mysql/updatedatabase.pl >@@ -3520,6 +3520,13 @@ if (C4::Context->preference('Version') < TransformToNum($DBversion)){ > SetVersion ($DBversion); > } > >+$DBversion = '3.01.00.125'; >+if (C4::Context->preference('Version') < TransformToNum($DBversion)){ >+ $dbh->do("INSERT INTO `systempreferences` (variable,value,options,explanation,type) VALUES ('AllowIssuingForPatronsWithOverdues', '1', NULL , 'If enabled, a patron can be issued items even if the patron has overdue items.', 'YesNo')"); >+ print "Upgrade to $DBversion done (bug 4036: Add syspref AllowIssuingForPatronsWithOverdues)\n"; >+ SetVersion ($DBversion); >+} >+ > =item DropAllForeignKeys($table) > > Drop all foreign keys of the table $table >-- >1.5.6.5 >
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 4036
:
1794
|
1795
| 1796