Bug 11747 - Add system preference DefaultToLoggedInLibraryOverdueTriggers
Signed-off-by: Nick Clemens <nick@quecheelibrary.org> Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Amended patch: INSERT IGNORE INTO + msg Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
parent
79e4d82f8f
commit
940010b2bd
|
|
@ -113,6 +113,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'),
|
||||
|
|
|
|||
|
|
@ -11405,6 +11405,17 @@ if(CheckVersion($DBversion)) {
|
|||
SetVersion($DBversion);
|
||||
}
|
||||
|
||||
$DBversion = "3.19.00.XXX";
|
||||
if(CheckVersion($DBversion)) {
|
||||
$dbh->do(q{
|
||||
INSERT IGNORE 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 11747 - add pref DefaultToLoggedInLibraryOverdueTriggers)\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.
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue