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 401-406 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
401
('OpacAllowSharingPrivateLists','0',NULL,'If set, allows opac users to share private lists with other patrons','YesNo'),
401
('OpacAllowSharingPrivateLists','0',NULL,'If set, allows opac users to share private lists with other patrons','YesNo'),
402
('OPACAllowUserToChooseBranch','1','1','Allow the user to choose the branch they want to pickup their hold from','YesNo'),
402
('OPACAllowUserToChooseBranch','1','1','Allow the user to choose the branch they want to pickup their hold from','YesNo'),
403
('OPACAmazonCoverImages','0','','Display cover images on OPAC from Amazon Web Services','YesNo'),
403
('OPACAmazonCoverImages','0','','Display cover images on OPAC from Amazon Web Services','YesNo'),
404
('OPACAuthorIdentifiers','0','','Display author identifiers on the OPAC detail page','YesNo'),
404
('OpacAuthorities','1',NULL,'If ON, enables the search authorities link on OPAC','YesNo'),
405
('OpacAuthorities','1',NULL,'If ON, enables the search authorities link on OPAC','YesNo'),
405
('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'),
406
('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'),
406
('opacbookbag','1','','If ON, enables display of Cart feature','YesNo'),
407
('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 534-539 OPAC: Link Here
534
                  1: Enable
534
                  1: Enable
535
                  0: Disable
535
                  0: Disable
536
            - "interface for browsing all holdings (Elasticsearch only)."
536
            - "interface for browsing all holdings (Elasticsearch only)."
537
        -
538
            - pref: OPACAuthorIdentifiers
539
              default: 0
540
              choices:
541
                  1: Display
542
                  0: "Don't display"
543
            - "author identifiers for research publications."
537
    OpenURL:
544
    OpenURL:
538
        -
545
        -
539
            - 'Complete URL of OpenURL resolver (starting with <code>http://</code> or <code>https://</code>):'
546
            - 'Complete URL of OpenURL resolver (starting with <code>http://</code> or <code>https://</code>):'
540
- 

Return to bug 29897