View | Details | Raw Unified | Return to bug 11747
Collapse All | Expand All

(-)a/installer/data/mysql/sysprefs.sql (+1 lines)
Lines 110-115 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
110
('defaultSortOrder','dsc','asc|dsc|az|za','Specify the default sort order','Choice'),
110
('defaultSortOrder','dsc','asc|dsc|az|za','Specify the default sort order','Choice'),
111
('DefaultToLoggedInLibraryCircRules',  '0', NULL ,  'If enabled, circ rules editor will default to the logged in library''s rules, rather than the ''all libraries'' rules.',  'YesNo'),
111
('DefaultToLoggedInLibraryCircRules',  '0', NULL ,  'If enabled, circ rules editor will default to the logged in library''s rules, rather than the ''all libraries'' rules.',  'YesNo'),
112
('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'),
112
('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'),
113
('DefaultToLoggedInLibraryOverdueTriggers',  '0', NULL ,  'If enabled, overdue status triggers editor will default to the logged in library''s rules, rather than the ''default'' rules.',  'YesNo'),
113
('delimiter',';',';|tabulation|,|/|\\|#||','Define the default separator character for exporting reports','Choice'),
114
('delimiter',';',';|tabulation|,|/|\\|#||','Define the default separator character for exporting reports','Choice'),
114
('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'),
115
('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'),
115
('DisplayClearScreenButton','0','','If set to ON, a clear screen button will appear on the circulation page.','YesNo'),
116
('DisplayClearScreenButton','0','','If set to ON, a clear screen button will appear on the circulation page.','YesNo'),
(-)a/installer/data/mysql/updatedatabase.pl (+11 lines)
Lines 11110-11115 if(CheckVersion($DBversion)) { Link Here
11110
    SetVersion($DBversion);
11110
    SetVersion($DBversion);
11111
}
11111
}
11112
11112
11113
$DBversion = "3.19.00.XXX";
11114
if(CheckVersion($DBversion)) {
11115
    $dbh->do(q{
11116
        INSERT IGNORE INTO systempreferences ( variable, value, options, explanation, type )
11117
        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')
11118
    });
11119
11120
    print "Upgrade to $DBversion done (Bug 11747 - add pref DefaultToLoggedInLibraryOverdueTriggers)\n";
11121
    SetVersion($DBversion);
11122
}
11123
11113
# DEVELOPER PROCESS, search for anything to execute in the db_update directory
11124
# DEVELOPER PROCESS, search for anything to execute in the db_update directory
11114
# SEE bug 13068
11125
# SEE bug 13068
11115
# if there is anything in the atomicupdate, read and execute it.
11126
# if there is anything in the atomicupdate, read and execute it.
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref (-1 / +7 lines)
Lines 64-69 Administration: Link Here
64
                  yes: "logged in library's"
64
                  yes: "logged in library's"
65
                  no: "all libraries"
65
                  no: "all libraries"
66
            - notices and slips by default.
66
            - notices and slips by default.
67
        -
68
            - When editing overdue notice/status triggers show the 
69
            - pref: DefaultToLoggedInLibraryOverdueTriggers
70
              choices:
71
                  yes: "logged in library's"
72
                  no: "all libraries"
73
            - rules by default.
67
    Login options:
74
    Login options:
68
        -
75
        -
69
            - Automatically log out users after
76
            - Automatically log out users after
70
- 

Return to bug 11747