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

(-)a/installer/data/mysql/atomicupdate/bug_41084.pl (+19 lines)
Line 0 Link Here
1
use Modern::Perl;
2
3
return {
4
    bug_number  => "41084",
5
    description => "Add EnableZotero system preference",
6
    up          => sub {
7
        my ($args) = @_;
8
        my ( $dbh, $out ) = @$args{qw(dbh out)};
9
10
        $dbh->do(
11
            q{
12
            INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES
13
            ('EnableZotero','1','','Enable Zotero export functionality','YesNo')
14
        }
15
        );
16
17
        say $out "Added new system preference 'EnableZotero'";
18
    },
19
};
(-)a/installer/data/mysql/mandatory/sysprefs.sql (+1 lines)
Lines 263-268 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
263
('EnableOpacSearchHistory','1','YesNo','Enable or disable opac search history',''),
263
('EnableOpacSearchHistory','1','YesNo','Enable or disable opac search history',''),
264
('EnablePointOfSale','0',NULL,'Enable the point of sale feature to allow anonymous transactions with the accounting system. (Requires UseCashRegisters)','YesNo'),
264
('EnablePointOfSale','0',NULL,'Enable the point of sale feature to allow anonymous transactions with the accounting system. (Requires UseCashRegisters)','YesNo'),
265
('EnableSearchHistory','0','','Enable or disable search history','YesNo'),
265
('EnableSearchHistory','0','','Enable or disable search history','YesNo'),
266
('EnableZotero','1','','Enable Zotero export functionality','YesNo'),
266
('EnhancedMessagingPreferences','1','','If ON, allows patrons to select to receive additional messages about items due or nearly due.','YesNo'),
267
('EnhancedMessagingPreferences','1','','If ON, allows patrons to select to receive additional messages about items due or nearly due.','YesNo'),
267
('EnhancedMessagingPreferencesOPAC', '1', NULL, 'If ON, show patrons messaging setting on the OPAC.', 'YesNo'),
268
('EnhancedMessagingPreferencesOPAC', '1', NULL, 'If ON, show patrons messaging setting on the OPAC.', 'YesNo'),
268
('ERMModule', '0', NULL, 'Enable the e-resource management module', 'YesNo'),
269
('ERMModule', '0', NULL, 'Enable the e-resource management module', 'YesNo'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref (-1 / +6 lines)
Lines 306-311 OPAC: Link Here
306
                mods: MODS
306
                mods: MODS
307
                ris: RIS
307
                ris: RIS
308
                isbd: ISBD
308
                isbd: ISBD
309
        -
310
            - pref: EnableZotero
311
              choices:
312
                  1: Enable
313
                  0: "Don't enable"
314
            - "Zotero export functionality (UTF-8 encoded MARC). The export option will not be displayed in the OPAC unless the <a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=OpacExportOptions">OpacExportOptions</a> has it enabled."
309
        -
315
        -
310
            - pref: OpacSeparateHoldings
316
            - pref: OpacSeparateHoldings
311
              choices:
317
              choices:
312
- 

Return to bug 41084