Bug 41084: Add EnableZotero system preference
This system preference will be used to enable opac-export.pl?format=utf8 regardless of the OpacExportOptions values, specifically for Zotero integration support. Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> Signed-off-by: Pedro Amorim <pedro.amorim@openfifth.co.uk>
This commit is contained in:
parent
674749c621
commit
5b3baf4170
|
|
@ -0,0 +1,19 @@
|
|||
use Modern::Perl;
|
||||
|
||||
return {
|
||||
bug_number => "41084",
|
||||
description => "Add EnableZotero system preference",
|
||||
up => sub {
|
||||
my ($args) = @_;
|
||||
my ( $dbh, $out ) = @$args{qw(dbh out)};
|
||||
|
||||
$dbh->do(
|
||||
q{
|
||||
INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES
|
||||
('EnableZotero','1','','Enable Zotero export functionality','YesNo')
|
||||
}
|
||||
);
|
||||
|
||||
say $out "Added new system preference 'EnableZotero'";
|
||||
},
|
||||
};
|
||||
|
|
@ -274,6 +274,7 @@ INSERT INTO systempreferences ( `variable`, `value` ) VALUES
|
|||
('EnableOpacSearchHistory','1'),
|
||||
('EnablePointOfSale','0'),
|
||||
('EnableSearchHistory','0'),
|
||||
('EnableZotero','1'),
|
||||
('EnhancedMessagingPreferences','1'),
|
||||
('EnhancedMessagingPreferencesOPAC', '1'),
|
||||
('ERMModule', '0'),
|
||||
|
|
|
|||
|
|
@ -312,6 +312,12 @@ OPAC:
|
|||
mods: MODS
|
||||
ris: RIS
|
||||
isbd: ISBD
|
||||
-
|
||||
- pref: EnableZotero
|
||||
choices:
|
||||
1: Enable
|
||||
0: "Don't enable"
|
||||
- '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.'
|
||||
-
|
||||
- pref: OpacSeparateHoldings
|
||||
choices:
|
||||
|
|
|
|||
Loading…
Reference in New Issue