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

(-)a/installer/data/mysql/atomicupdate/bug_41701.pl (+13 lines)
Line 0 Link Here
1
use Modern::Perl;
2
3
return {
4
    bug_number  => "41701",
5
    description => "Fix values of OAI-PMH:DeletedRecord options and explanation columns",
6
    up          => sub {
7
        my ($args) = @_;
8
        my ( $dbh, $out ) = @$args{qw(dbh out)};
9
        $dbh->do(
10
            q{UPDATE systempreferences SET options = 'transient|persistent|no', explanation = 'Koha\'s deletedbiblio table will never be deleted (persistent), might be deleted (transient), or will never have any data in it (no)' WHERE variable = 'OAI-PMH:DeletedRecord'}
11
        );
12
    },
13
    }
(-)a/installer/data/mysql/mandatory/sysprefs.sql (-2 / +1 lines)
Lines 470-476 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
470
('OAI-PMH:AutoUpdateSets','0',NULL,'Automatically update OAI sets when a bibliographic or item record is created or updated','YesNo'),
470
('OAI-PMH:AutoUpdateSets','0',NULL,'Automatically update OAI sets when a bibliographic or item record is created or updated','YesNo'),
471
('OAI-PMH:AutoUpdateSetsEmbedItemData', '0', NULL, 'Embed item information when automatically updating OAI sets. Requires OAI-PMH:AutoUpdateSets syspref to be enabled', 'YesNo'),
471
('OAI-PMH:AutoUpdateSetsEmbedItemData', '0', NULL, 'Embed item information when automatically updating OAI sets. Requires OAI-PMH:AutoUpdateSets syspref to be enabled', 'YesNo'),
472
('OAI-PMH:ConfFile','',NULL,'If empty, Koha OAI Server operates in normal mode, otherwise it operates in extended mode.','File'),
472
('OAI-PMH:ConfFile','',NULL,'If empty, Koha OAI Server operates in normal mode, otherwise it operates in extended mode.','File'),
473
('OAI-PMH:DeletedRecord','persistent','Koha\'s deletedbiblio table will never be deleted (persistent), might be deleted (transient), or will never have any data in it (no)','transient|persistent|no','Choice'),
473
('OAI-PMH:DeletedRecord','persistent','transient|persistent|no','Koha\'s deletedbiblio table will never be deleted (persistent), might be deleted (transient), or will never have any data in it (no)','Choice'),
474
('OAI-PMH:HarvestEmailReport','',NULL,'After an OAI-PMH harvest, send a report email to the email address','Free'),
474
('OAI-PMH:HarvestEmailReport','',NULL,'After an OAI-PMH harvest, send a report email to the email address','Free'),
475
('OAI-PMH:MaxCount','50',NULL,'OAI-PMH maximum number of records by answer to ListRecords and ListIdentifiers queries','Integer'),
475
('OAI-PMH:MaxCount','50',NULL,'OAI-PMH maximum number of records by answer to ListRecords and ListIdentifiers queries','Integer'),
476
('OnSiteCheckoutAutoCheck','0',NULL,'Enable/Do not enable onsite checkout by default if last checkout was an onsite checkout','YesNo'),
476
('OnSiteCheckoutAutoCheck','0',NULL,'Enable/Do not enable onsite checkout by default if last checkout was an onsite checkout','YesNo'),
477
- 

Return to bug 41701