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

(-)a/installer/data/mysql/atomicupdate/bug_29897.pl (+14 lines)
Line 0 Link Here
1
use Modern::Perl;
2
3
return {
4
    bug_number => "29897",
5
    description => "Add new system preference OPACAuthorIdentifiers",
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` ) VALUES
11
            ('OPACAuthorIdentifiers','0','','Display author identifiers on the OPAC detail page','YesNo')
12
        });
13
    },
14
};
(-)a/installer/data/mysql/mandatory/sysprefs.sql (+1 lines)
Lines 394-399 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
394
('OpacAllowSharingPrivateLists','0',NULL,'If set, allows opac users to share private lists with other patrons','YesNo'),
394
('OpacAllowSharingPrivateLists','0',NULL,'If set, allows opac users to share private lists with other patrons','YesNo'),
395
('OPACAllowUserToChooseBranch','1','1','Allow the user to choose the branch they want to pickup their hold from','YesNo'),
395
('OPACAllowUserToChooseBranch','1','1','Allow the user to choose the branch they want to pickup their hold from','YesNo'),
396
('OPACAmazonCoverImages','0','','Display cover images on OPAC from Amazon Web Services','YesNo'),
396
('OPACAmazonCoverImages','0','','Display cover images on OPAC from Amazon Web Services','YesNo'),
397
('OPACAuthorIdentifiers','0','','Display author identifiers on the OPAC detail page','YesNo'),
397
('OpacAuthorities','1',NULL,'If ON, enables the search authorities link on OPAC','YesNo'),
398
('OpacAuthorities','1',NULL,'If ON, enables the search authorities link on OPAC','YesNo'),
398
('OPACBaseURL','',NULL,'Specify the Base URL of the OPAC, e.g., http://opac.mylibrary.com, including the protocol (http:// or https://). Otherwise, the http:// will be added automatically by Koha upon saving.','Free'),
399
('OPACBaseURL','',NULL,'Specify the Base URL of the OPAC, e.g., http://opac.mylibrary.com, including the protocol (http:// or https://). Otherwise, the http:// will be added automatically by Koha upon saving.','Free'),
399
('opacbookbag','1','','If ON, enables display of Cart feature','YesNo'),
400
('opacbookbag','1','','If ON, enables display of Cart feature','YesNo'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref (-1 / +7 lines)
Lines 537-542 OPAC: Link Here
537
                  1: Enable
537
                  1: Enable
538
                  0: Disable
538
                  0: Disable
539
            - "interface for browsing all holdings (Elasticsearch only)."
539
            - "interface for browsing all holdings (Elasticsearch only)."
540
        -
541
            - pref: OPACAuthorIdentifiers
542
              default: 0
543
              choices:
544
                  1: Display
545
                  0: "Don't display"
546
            - "author identifiers for research publications."
540
    OpenURL:
547
    OpenURL:
541
        -
548
        -
542
            - 'Complete URL of OpenURL resolver (starting with <code>http://</code> or <code>https://</code>):'
549
            - 'Complete URL of OpenURL resolver (starting with <code>http://</code> or <code>https://</code>):'
543
- 

Return to bug 29897