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

(-)a/installer/data/mysql/atomicupdate/bug_19028_shelving_location_column.perl (+15 lines)
Line 0 Link Here
1
$DBversion = 'XXX';
2
if( CheckVersion( $DBversion ) ) {
3
    $dbh->do(q{
4
        UPDATE systempreferences
5
        SET
6
            variable='OpacLocationOnDetail',
7
            options='holding|home|both|column',
8
            explanation='In the OPAC detail, display the shelving location on its own column or under a library columns.'
9
        WHERE
10
            variable='OpacLocationBranchToDisplayShelving'
11
    });
12
13
    SetVersion( $DBversion );
14
    print "Upgrade to $DBversion done (Bug 19028: Add 'shelving location' to holdings table in detail page)\n";
15
}
(-)a/installer/data/mysql/sysprefs.sql (-2 / +1 lines)
Lines 343-349 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
343
('opaclayoutstylesheet','opac.css','','Enter the name of the layout CSS stylesheet to use in the OPAC','free'),
343
('opaclayoutstylesheet','opac.css','','Enter the name of the layout CSS stylesheet to use in the OPAC','free'),
344
('OPACLocalCoverImages','0','1','Display local cover images on OPAC search and details pages.','YesNo'),
344
('OPACLocalCoverImages','0','1','Display local cover images on OPAC search and details pages.','YesNo'),
345
('OpacLocationBranchToDisplay','holding','holding|home|both','In the OPAC, under location show which branch for Location in the record details.','Choice'),
345
('OpacLocationBranchToDisplay','holding','holding|home|both','In the OPAC, under location show which branch for Location in the record details.','Choice'),
346
('OpacLocationBranchToDisplayShelving','holding','holding|home|both','In the OPAC, display the shelving location under which which column.',  'Choice'),
346
('OpacLocationOnDetail','holding','holding|home|both|column','In the OPAC detail, display the shelving location on its own column or under a library columns.',  'Choice'),
347
('OpacMaintenance','0','','If ON, enables maintenance warning in OPAC','YesNo'),
347
('OpacMaintenance','0','','If ON, enables maintenance warning in OPAC','YesNo'),
348
('OpacMaintenanceNotice','','','A user-defined block of HTML to appear on screen when OpacMaintenace is enabled','Textarea'),
348
('OpacMaintenanceNotice','','','A user-defined block of HTML to appear on screen when OpacMaintenace is enabled','Textarea'),
349
('OpacMainUserBlock','Welcome to Koha...\r\n<hr>','70|10','A user-defined block of HTML  in the main content area of the opac main page','Textarea'),
349
('OpacMainUserBlock','Welcome to Koha...\r\n<hr>','70|10','A user-defined block of HTML  in the main content area of the opac main page','Textarea'),
350
- 

Return to bug 19028