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

(-)a/installer/data/mysql/atomicupdate/bug_37463-add_SCOCoverImagesCategories_syspref.pl (-1 / +3 lines)
Lines 7-12 return { Link Here
7
        my ($args) = @_;
7
        my ($args) = @_;
8
        my ($dbh, $out) = @$args{qw(dbh out)};
8
        my ($dbh, $out) = @$args{qw(dbh out)};
9
9
10
        $dbh->do(q{INSERT IGNORE INTO systempreferences (variable, value, options, explanation, type) VALUES ('SCOCoverImagesCategories', '1', NULL, 'Cover images will show for checked out items in the self checkout module for selected patron categories:', 'YesNo')});
10
        $dbh->do(q{INSERT IGNORE INTO systempreferences (variable, value, options, explanation, type) VALUES ('SCOCoverImagesCategories', '', NULL, 'Cover images will show for checked out items in the self checkout module for selected patron categories:', 'Free')});
11
    
12
        say $out "Added system preference 'SCOCoverImagesCategories'";
11
    },
13
    },
12
};
14
};
(-)a/installer/data/mysql/mandatory/sysprefs.sql (-1 / +1 lines)
Lines 685-691 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
685
('SavedSearchFilters', '0', NULL, 'Allow staff with permission to create/edit custom search filters', 'YesNo'),
685
('SavedSearchFilters', '0', NULL, 'Allow staff with permission to create/edit custom search filters', 'YesNo'),
686
('SCOAllowCheckin','0','','If enabled, patrons may return items through the Web-based Self Checkout','YesNo'),
686
('SCOAllowCheckin','0','','If enabled, patrons may return items through the Web-based Self Checkout','YesNo'),
687
('SCOBatchCheckoutsValidCategories','',NULL,'Patron categories allowed to checkout in a batch while logged into Self Checkout','Free'),
687
('SCOBatchCheckoutsValidCategories','',NULL,'Patron categories allowed to checkout in a batch while logged into Self Checkout','Free'),
688
('SCOCoverImagesCategories', '1', NULL, 'Cover images will show for checked out items in the self checkout module for selected patron categories:', 'YesNo'),
688
('SCOCoverImagesCategories', '', NULL, 'Cover images will show for checked out items in the self checkout module for selected patron categories:', 'Free'),
689
('SCOLoadCheckoutsByDefault','1','','If enabled, load the list of a patrons checkouts when they log in to the Self Checkout','YesNo'),
689
('SCOLoadCheckoutsByDefault','1','','If enabled, load the list of a patrons checkouts when they log in to the Self Checkout','YesNo'),
690
('SCOUserCSS','',NULL,'Add CSS to be included in the SCO module in an embedded <style> tag.','free'),
690
('SCOUserCSS','',NULL,'Add CSS to be included in the SCO module in an embedded <style> tag.','free'),
691
('SCOUserJS','',NULL,'Define custom javascript for inclusion in the SCO module','free'),
691
('SCOUserJS','',NULL,'Define custom javascript for inclusion in the SCO module','free'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref (-8 / +5 lines)
Lines 1213-1225 Circulation: Link Here
1213
              syntax: javascript
1213
              syntax: javascript
1214
              class: code
1214
              class: code
1215
    Self check-out module:
1215
    Self check-out module:
1216
        -
1217
            - pref: SCOCoverImagesCategories
1218
              choices:
1219
                  1: Include
1220
                  0: Exclude
1221
            - "Cover images will show for checked out items in the self checkout module for selected patron categories:"
1222
1223
        -
1216
        -
1224
            - "Include the following JavaScript on all pages in the web-based self checkout:"
1217
            - "Include the following JavaScript on all pages in the web-based self checkout:"
1225
            - pref: SCOUserJS
1218
            - pref: SCOUserJS
Lines 1291-1296 Circulation: Link Here
1291
            - pref: SelfCheckAllowByIPRanges
1284
            - pref: SelfCheckAllowByIPRanges
1292
              class: short
1285
              class: short
1293
            - (Leave blank if not used. Use ranges or simple IP addresses separated by spaces, like <code>192.168.1.1 192.168.0.0/24</code>.)
1286
            - (Leave blank if not used. Use ranges or simple IP addresses separated by spaces, like <code>192.168.1.1 192.168.0.0/24</code>.)
1287
        -
1288
            - "Cover images will show for checked out items in the self checkout module for selected patron categories:"
1289
            - pref: SCOCoverImagesCategories
1290
              choices: patron-categories
1291
              class: multiple
1294
        -
1292
        -
1295
            - "Patron categories allowed to check out in a batch while logged into the self checkout system:"
1293
            - "Patron categories allowed to check out in a batch while logged into the self checkout system:"
1296
            - pref: SCOBatchCheckoutsValidCategories
1294
            - pref: SCOBatchCheckoutsValidCategories
1297
- 

Return to bug 37463