Bugzilla – Attachment 38279 Details for
Bug 11747
Default to logged in library for Overdue notice/status triggers
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11747 - Add system preference DefaultToLoggedInLibraryOverdueTriggers
Bug-11747---Add-system-preference-DefaultToLoggedI.patch (text/plain), 3.76 KB, created by
Kyle M Hall (khall)
on 2015-04-21 15:20:43 UTC
(
hide
)
Description:
Bug 11747 - Add system preference DefaultToLoggedInLibraryOverdueTriggers
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2015-04-21 15:20:43 UTC
Size:
3.76 KB
patch
obsolete
>From 6056ab0f66417fadfa1061b285cf285feda1b0b8 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Tue, 21 Apr 2015 11:17:14 -0400 >Subject: [PATCH] Bug 11747 - Add system preference DefaultToLoggedInLibraryOverdueTriggers > >Signed-off-by: Nick Clemens <nick@quecheelibrary.org> >Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> >--- > installer/data/mysql/sysprefs.sql | 1 + > installer/data/mysql/updatedatabase.pl | 11 +++++++++++ > .../prog/en/modules/admin/preferences/admin.pref | 7 +++++++ > 3 files changed, 19 insertions(+), 0 deletions(-) > >diff --git a/installer/data/mysql/sysprefs.sql b/installer/data/mysql/sysprefs.sql >index 3d31ffd..4c40a89 100644 >--- a/installer/data/mysql/sysprefs.sql >+++ b/installer/data/mysql/sysprefs.sql >@@ -105,6 +105,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` > ('defaultSortOrder','dsc','asc|dsc|az|za','Specify the default sort order','Choice'), > ('DefaultToLoggedInLibraryCircRules', '0', NULL , 'If enabled, circ rules editor will default to the logged in library''s rules, rather than the ''all libraries'' rules.', 'YesNo'), > ('DefaultToLoggedInLibraryNoticesSlips', '0', NULL , 'If enabled,slips and notices editor will default to the logged in library''s rules, rather than the ''all libraries'' rules.', 'YesNo'), >+('DefaultToLoggedInLibraryOverdueTriggers', '0', NULL , 'If enabled, overdue status triggers editor will default to the logged in library''s rules, rather than the ''default'' rules.', 'YesNo'), > ('delimiter',';',';|tabulation|,|/|\\|#||','Define the default separator character for exporting reports','Choice'), > ('Display856uAsImage','OFF','OFF|Details|Results|Both','Display the URI in the 856u field as an image, the corresponding Staff Client XSLT option must be on','Choice'), > ('DisplayClearScreenButton','0','','If set to ON, a clear screen button will appear on the circulation page.','YesNo'), >diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl >index db1a90c..4f78e62 100755 >--- a/installer/data/mysql/updatedatabase.pl >+++ b/installer/data/mysql/updatedatabase.pl >@@ -10157,6 +10157,17 @@ if(CheckVersion($DBversion)) { > SetVersion($DBversion); > } > >+$DBversion = "3.19.00.XXX"; >+if(CheckVersion($DBversion)) { >+ $dbh->do(q{ >+ INSERT INTO systempreferences ( variable, value, options, explanation, type ) >+ VALUES ('DefaultToLoggedInLibraryOverdueTriggers', '0', NULL, 'If enabled, overdue status triggers editor will default to the logged in library''s rules, rather than the ''default'' rules.', 'YesNo') >+ }); >+ >+ print "Upgrade to $DBversion done (Bug 13379 - Modify authorised_values.category to varchar(32))\n"; >+ SetVersion($DBversion); >+} >+ > # DEVELOPER PROCESS, search for anything to execute in the db_update directory > # SEE bug 13068 > # if there is anything in the atomicupdate, read and execute it. >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref >index 055aefa..30e5003 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref >@@ -64,6 +64,13 @@ Administration: > yes: "logged in library's" > no: "all libraries" > - notices and slips by default. >+ - >+ - When editing overdue notice/status triggers show the >+ - pref: DefaultToLoggedInLibraryOverdueTriggers >+ choices: >+ yes: "logged in library's" >+ no: "all libraries" >+ - rules by default. > Login options: > - > - Automatically log out users after >-- >1.7.2.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 11747
:
25205
|
25297
|
25347
|
25842
|
35466
|
35467
|
35468
|
38112
|
38279
|
38280
|
38281
|
38346
|
43499
|
43500
|
43501