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

(-)a/installer/data/mysql/atomicupdate/bug_30108.pl (+14 lines)
Line 0 Link Here
1
use Modern::Perl;
2
3
return {
4
    bug_number => 30108,
5
    description => "Add preference OPACMandatoryHoldDates",
6
    up => sub {
7
        my ($args) = @_;
8
        my ($dbh, $out) = @$args{qw(dbh out)};
9
        $dbh->do(q{
10
INSERT IGNORE INTO systempreferences (`variable`, `value`, `options`, `explanation`, `type` ) VALUES
11
('OPACMandatoryHoldDates', '', '|start|end|both', 'Define which hold dates are required on OPAC reserve form', 'Choice')
12
        });
13
    },
14
};
(-)a/installer/data/mysql/mandatory/sysprefs.sql (-1 / +1 lines)
Lines 434-439 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
434
('OPACLocalCoverImages','0','1','Display local cover images on OPAC search and details pages.','YesNo'),
434
('OPACLocalCoverImages','0','1','Display local cover images on OPAC search and details pages.','YesNo'),
435
('OpacLocationBranchToDisplay','holding','holding|home|both','In the OPAC, under location show which branch for Location in the record details.','Choice'),
435
('OpacLocationBranchToDisplay','holding','holding|home|both','In the OPAC, under location show which branch for Location in the record details.','Choice'),
436
('OpacLocationOnDetail','holding','holding|home|both|column','In the OPAC detail, display the shelving location on its own column or under a library columns.',  'Choice'),
436
('OpacLocationOnDetail','holding','holding|home|both|column','In the OPAC detail, display the shelving location on its own column or under a library columns.',  'Choice'),
437
('OPACMandatoryHoldDates', '', '|start|end|both', 'Define which hold dates are required on OPAC reserve form', 'Choice'),
437
('OpacMaintenance','0','','If ON, enables maintenance warning in OPAC','YesNo'),
438
('OpacMaintenance','0','','If ON, enables maintenance warning in OPAC','YesNo'),
438
('OpacMaintenanceNotice','','','A user-defined block of HTML to appear on screen when OpacMaintenace is enabled','Textarea'),
439
('OpacMaintenanceNotice','','','A user-defined block of HTML to appear on screen when OpacMaintenace is enabled','Textarea'),
439
('OpacMaxItemsToDisplay','50','','Max items to display at the OPAC on a biblio detail','Integer'),
440
('OpacMaxItemsToDisplay','50','','Max items to display at the OPAC on a biblio detail','Integer'),
440
- 

Return to bug 30108