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

(-)a/installer/data/mysql/atomicupdate/bug_30933.pl (+18 lines)
Line 0 Link Here
1
use Modern::Perl;
2
3
return {
4
    bug_number => 30933,
5
    description => "Add pref ListOwnerDesignated",
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)
11
VALUES ('ListOwnerDesignated', NULL, NULL, 'Designated list owner at patron deletion', 'Free')
12
        });
13
        $dbh->do(q{
14
UPDATE systempreferences SET explanation='Defines the action on their public or shared lists when patron is deleted'
15
WHERE variable = 'ListOwnershipUponPatronDeletion'
16
        });
17
    },
18
};
(-)a/installer/data/mysql/mandatory/sysprefs.sql (-2 / +2 lines)
Lines 327-333 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
327
('LinkerModule','Default','Default|FirstMatch|LastMatch','Chooses which linker module to use (see documentation).','Choice'),
327
('LinkerModule','Default','Default|FirstMatch|LastMatch','Chooses which linker module to use (see documentation).','Choice'),
328
('LinkerOptions','','','A pipe-separated list of options for the linker.','free'),
328
('LinkerOptions','','','A pipe-separated list of options for the linker.','free'),
329
('LinkerRelink','1',NULL,'If ON the authority linker will relink headings that have previously been linked every time it runs.','YesNo'),
329
('LinkerRelink','1',NULL,'If ON the authority linker will relink headings that have previously been linked every time it runs.','YesNo'),
330
('ListOwnershipUponPatronDeletion', 'delete', 'delete|transfer', 'When deleting a patron who owns public lists, either delete the public lists or transfer ownership to the patron who deleted the owner', 'Choice'),
330
('ListOwnerDesignated', NULL, NULL, 'Designated list owner at patron deletion', 'Free'),
331
('ListOwnershipUponPatronDeletion', 'delete', 'delete|transfer', 'Defines the action on their public or shared lists when patron is deleted', 'Choice'),
331
('LoadSearchHistoryToTheFirstLoggedUser', '1', NULL, 'If ON, the next user will automatically get the last searches in their history', 'YesNo'),
332
('LoadSearchHistoryToTheFirstLoggedUser', '1', NULL, 'If ON, the next user will automatically get the last searches in their history', 'YesNo'),
332
('LocalCoverImages','0','1','Display local cover images on intranet details pages.','YesNo'),
333
('LocalCoverImages','0','1','Display local cover images on intranet details pages.','YesNo'),
333
('LocalHoldsPriority',  '0', NULL,  'Enables the LocalHoldsPriority feature',  'YesNo'),
334
('LocalHoldsPriority',  '0', NULL,  'Enables the LocalHoldsPriority feature',  'YesNo'),
334
- 

Return to bug 30933