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

(-)a/installer/data/mysql/sysprefs.sql (+2 lines)
Lines 103-108 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
103
('DefaultLongOverdueLostValue', NULL, NULL, "Set the LOST value of an item to n when the item has been overdue for more than defaultlongoverduedays days.", 'integer'),
103
('DefaultLongOverdueLostValue', NULL, NULL, "Set the LOST value of an item to n when the item has been overdue for more than defaultlongoverduedays days.", 'integer'),
104
('defaultSortField','relevance','relevance|popularity|call_number|pubdate|acqdate|title|author','Specify the default field used for sorting','Choice'),
104
('defaultSortField','relevance','relevance|popularity|call_number|pubdate|acqdate|title|author','Specify the default field used for sorting','Choice'),
105
('defaultSortOrder','dsc','asc|dsc|az|za','Specify the default sort order','Choice'),
105
('defaultSortOrder','dsc','asc|dsc|az|za','Specify the default sort order','Choice'),
106
('DefaultToLoggedInLibraryCircRules',  '0', NULL ,  'If enabled, circ rules editor will default to the logged in library''s rules, rather than the ''all libraries'' rules.',  'YesNo'),
107
('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'),
106
('delimiter',';',';|tabulation|,|/|\\|#||','Define the default separator character for exporting reports','Choice'),
108
('delimiter',';',';|tabulation|,|/|\\|#||','Define the default separator character for exporting reports','Choice'),
107
('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'),
109
('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'),
108
('DisplayClearScreenButton','0','','If set to ON, a clear screen button will appear on the circulation page.','YesNo'),
110
('DisplayClearScreenButton','0','','If set to ON, a clear screen button will appear on the circulation page.','YesNo'),
(-)a/installer/data/mysql/updatedatabase.pl (+15 lines)
Lines 10142-10147 if(CheckVersion($DBversion)) { Link Here
10142
    SetVersion($DBversion);
10142
    SetVersion($DBversion);
10143
}
10143
}
10144
10144
10145
$DBversion = "3.19.00.XXX";
10146
if(CheckVersion($DBversion)) {
10147
    $dbh->do(q{
10148
        INSERT INTO systempreferences ( variable, value, options, explanation, type )
10149
        VALUES (
10150
            'DefaultToLoggedInLibraryCircRules',  '0', NULL ,  'If enabled, circ rules editor will default to the logged in library''s rules, rather than the ''all libraries'' rules.',  'YesNo'
10151
        ), (
10152
            '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'
10153
        )
10154
    });
10155
10156
    print "Upgrade to $DBversion done (Bug 13379 - Modify authorised_values.category to varchar(32))\n";
10157
    SetVersion($DBversion);
10158
}
10159
10145
# DEVELOPER PROCESS, search for anything to execute in the db_update directory
10160
# DEVELOPER PROCESS, search for anything to execute in the db_update directory
10146
# SEE bug 13068
10161
# SEE bug 13068
10147
# if there is anything in the atomicupdate, read and execute it.
10162
# if there is anything in the atomicupdate, read and execute it.
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref (-1 / +14 lines)
Lines 50-55 Administration: Link Here
50
                  yes: Allow
50
                  yes: Allow
51
                  no: "Don't allow"
51
                  no: "Don't allow"
52
            - staff and patrons to create and view saved lists of books.
52
            - staff and patrons to create and view saved lists of books.
53
        -
54
            - When editing circulation rules show the
55
            - pref: DefaultToLoggedInLibraryCircRules
56
              choices:
57
                  yes: "logged in library's"
58
                  no: "all libraries"
59
            - rules by default.
60
        -
61
            - When editing notices and slips show the 
62
            - pref: DefaultToLoggedInLibraryNoticesSlips
63
              choices:
64
                  yes: "logged in library's"
65
                  no: "all libraries"
66
            - notices and slips by default.
53
    Login options:
67
    Login options:
54
        -
68
        -
55
            - Automatically log out users after
69
            - Automatically log out users after
56
- 

Return to bug 11625