Bugzilla – Attachment 31397 Details for
Bug 10076
Add Bcc syspref for claimacquisition and clamissues
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
syspref.sql and updatedatabase.pl Added
sysprefsql-and-updatedatabasepl-Added.patch (text/plain), 2.31 KB, created by
simith.doliveira
on 2014-09-05 13:29:50 UTC
(
hide
)
Description:
syspref.sql and updatedatabase.pl Added
Filename:
MIME Type:
Creator:
simith.doliveira
Created:
2014-09-05 13:29:50 UTC
Size:
2.31 KB
patch
obsolete
>From 23d9fd8fb4fcc268dcc985ef43a68e7106943066 Mon Sep 17 00:00:00 2001 >From: simith <simith@inlibro.com> >Date: Fri, 5 Sep 2014 09:27:33 -0400 >Subject: [PATCH] syspref.sql and updatedatabase.pl Added > >http://bugs.koha-community.org/show_bug.cgi?id=10076 >--- > installer/data/mysql/sysprefs.sql | 1 + > installer/data/mysql/updatedatabase.pl | 6 ++++++ > 2 files changed, 7 insertions(+) > >diff --git a/installer/data/mysql/sysprefs.sql b/installer/data/mysql/sysprefs.sql >index 7eb08a8..8a04647 100644 >--- a/installer/data/mysql/sysprefs.sql >+++ b/installer/data/mysql/sysprefs.sql >@@ -85,6 +85,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` > ('CircAutocompl','1',NULL,'If ON, autocompletion is enabled for the Circulation input','YesNo'), > ('CircAutoPrintQuickSlip','qslip',NULL,'Choose what should happen when an empty barcode field is submitted in circulation: Display a print quick slip window, Display a print slip window or Clear the screen.','Choice'), > ('CircControl','ItemHomeLibrary','PickupLibrary|PatronLibrary|ItemHomeLibrary','Specify the agency that controls the circulation and fines policy','Choice'), >+('claimsbcccopy','0','','bcc the claimacquisition and clamissues alerts','YesNo'), > ('COinSinOPACResults','1','','If ON, use COinS in OPAC search results page. NOTE: this can slow down search response time significantly','YesNo'), > ('ConfirmFutureHolds','0','','Number of days for confirming future holds','Integer'), > ('CurrencyFormat','US','US|FR','Determines the display format of currencies. eg: \'36000\' is displayed as \'360 000,00\' in \'FR\' or \'360,000.00\' in \'US\'.','Choice'), >diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl >index 4dd109e..e0b6fec 100755 >--- a/installer/data/mysql/updatedatabase.pl >+++ b/installer/data/mysql/updatedatabase.pl >@@ -8704,6 +8704,12 @@ if ( CheckVersion($DBversion) ) { > SetVersion($DBversion); > } > >+$DBversion = "XXX"; >+if ( CheckVersion($DBversion) ) { >+ $dbh->do("INSERT INTO systempreferences (variable,value,options,explanation,type) VALUES ('claimsbcccopy','0','','bcc the claimacquisition and clamissues alerts','YesNo');"); >+ print "Upgrade to $DBversion done (Bug 10076 - Add Bcc syspref for claimacquisition and clamissues)\n"; >+ SetVersion($DBversion); >+} > > =head1 FUNCTIONS > >-- >1.9.1
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 10076
:
17853
|
30632
|
31262
|
31397
|
40843
|
40844
|
40845
|
45181
|
45183
|
45264
|
45350
|
45361