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

(-)a/installer/data/mysql/atomicupdate/bug_38108.pl (+21 lines)
Line 0 Link Here
1
use Modern::Perl;
2
use Koha::Installer::Output qw(say_warning say_success say_info);
3
4
return {
5
    bug_number  => "38108",
6
    description => "Add AlwaysShowHoldingsTableFilters system preference",
7
    up          => sub {
8
        my ($args) = @_;
9
        my ( $dbh, $out ) = @$args{qw(dbh out)};
10
11
        $dbh->do(
12
            q{
13
            INSERT IGNORE INTO systempreferences (`variable`,`value`,`options`,`explanation`,`type`)
14
            VALUES ('AlwaysShowHoldingsTableFilters','0','','Option to always show filters when loading the holdings table','YesNo')
15
        }
16
        );
17
18
        # sysprefs
19
        say $out "Added new system preference 'AlwaysShowHoldingsTableFilters'";
20
    },
21
};
(-)a/installer/data/mysql/mandatory/sysprefs.sql (-1 / +1 lines)
Lines 56-61 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
56
('AlternateHoldingsField','',NULL,'The MARC field/subfield that contains alternate holdings information for bibs taht do not have items attached (e.g. 852abchi for libraries converting from MARC Magician).','free'),
56
('AlternateHoldingsField','',NULL,'The MARC field/subfield that contains alternate holdings information for bibs taht do not have items attached (e.g. 852abchi for libraries converting from MARC Magician).','free'),
57
('AlternateHoldingsSeparator','',NULL,'The string to use to separate subfields in alternate holdings displays.','free'),
57
('AlternateHoldingsSeparator','',NULL,'The string to use to separate subfields in alternate holdings displays.','free'),
58
('AlwaysLoadCheckoutsTable','0','','Option to always load the checkout table','Yes/No'),
58
('AlwaysLoadCheckoutsTable','0','','Option to always load the checkout table','Yes/No'),
59
('AlwaysShowHoldingsTableFilters','0','','Option to always show filters when loading the holdings table','Yes/No'),
59
('AmazonAssocTag','','','See:  http://aws.amazon.com','free'),
60
('AmazonAssocTag','','','See:  http://aws.amazon.com','free'),
60
('AmazonCoverImages','0','','Display Cover Images in staff interface from Amazon Web Services','YesNo'),
61
('AmazonCoverImages','0','','Display Cover Images in staff interface from Amazon Web Services','YesNo'),
61
('AmazonLocale','US','US|CA|DE|FR|IN|JP|UK','Use to set the Locale of your Amazon.com Web Services','Choice'),
62
('AmazonLocale','US','US|CA|DE|FR|IN|JP|UK','Use to set the Locale of your Amazon.com Web Services','Choice'),
62
- 

Return to bug 38108