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 527-532 OPAC: Link Here
527
                  1: Enable
527
                  1: Enable
528
                  0: Disable
528
                  0: Disable
529
            - "interface for browsing all holdings (Elasticsearch only)."
529
            - "interface for browsing all holdings (Elasticsearch only)."
530
        -
531
            - pref: OPACAuthorIdentifiers
532
              default: 0
533
              choices:
534
                  1: Display
535
                  0: "Don't display"
536
            - "author identifiers for research publications."
530
    OpenURL:
537
    OpenURL:
531
        -
538
        -
532
            - 'Complete URL of OpenURL resolver (starting with <code>http://</code> or <code>https://</code>):'
539
            - 'Complete URL of OpenURL resolver (starting with <code>http://</code> or <code>https://</code>):'
533
- 

Return to bug 29897