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

(-)a/installer/data/mysql/sysprefs.sql (+2 lines)
Lines 106-111 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
106
('DefaultLongOverdueLostValue', NULL, NULL, "Set the LOST value of an item to n when the item has been overdue for more than defaultlongoverduedays days.", 'integer'),
106
('DefaultLongOverdueLostValue', NULL, NULL, "Set the LOST value of an item to n when the item has been overdue for more than defaultlongoverduedays days.", 'integer'),
107
('defaultSortField','relevance','relevance|popularity|call_number|pubdate|acqdate|title|author','Specify the default field used for sorting','Choice'),
107
('defaultSortField','relevance','relevance|popularity|call_number|pubdate|acqdate|title|author','Specify the default field used for sorting','Choice'),
108
('defaultSortOrder','dsc','asc|dsc|az|za','Specify the default sort order','Choice'),
108
('defaultSortOrder','dsc','asc|dsc|az|za','Specify the default sort order','Choice'),
109
('DefaultToLoggedInLibraryCircRules',  '0', NULL ,  'If enabled, circ rules editor will default to the logged in library''s rules, rather than the ''all libraries'' rules.',  'YesNo'),
110
('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'),
109
('delimiter',';',';|tabulation|,|/|\\|#||','Define the default separator character for exporting reports','Choice'),
111
('delimiter',';',';|tabulation|,|/|\\|#||','Define the default separator character for exporting reports','Choice'),
110
('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'),
112
('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'),
111
('DisplayClearScreenButton','0','','If set to ON, a clear screen button will appear on the circulation page.','YesNo'),
113
('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 10761-10766 if ( CheckVersion($DBversion) ) { Link Here
10761
    SetVersion ($DBversion);
10761
    SetVersion ($DBversion);
10762
}
10762
}
10763
10763
10764
$DBversion = "3.21.00.XXX";
10765
if(CheckVersion($DBversion)) {
10766
    $dbh->do(q{
10767
        INSERT INTO systempreferences ( variable, value, options, explanation, type )
10768
        VALUES (
10769
            'DefaultToLoggedInLibraryCircRules',  '0', NULL ,  'If enabled, circ rules editor will default to the logged in library''s rules, rather than the ''all libraries'' rules.',  'YesNo'
10770
        ), (
10771
            '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'
10772
        )
10773
    });
10774
10775
    print "Upgrade to $DBversion done (Bug 13379 - Modify authorised_values.category to varchar(32))\n";
10776
    SetVersion($DBversion);
10777
}
10778
10764
# DEVELOPER PROCESS, search for anything to execute in the db_update directory
10779
# DEVELOPER PROCESS, search for anything to execute in the db_update directory
10765
# SEE bug 13068
10780
# SEE bug 13068
10766
# if there is anything in the atomicupdate, read and execute it.
10781
# 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