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 412-417 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
412
('OpacAllowSharingPrivateLists','0',NULL,'If set, allows opac users to share private lists with other patrons','YesNo'),
412
('OpacAllowSharingPrivateLists','0',NULL,'If set, allows opac users to share private lists with other patrons','YesNo'),
413
('OPACAllowUserToChooseBranch','1','1','Allow the user to choose the branch they want to pickup their hold from','YesNo'),
413
('OPACAllowUserToChooseBranch','1','1','Allow the user to choose the branch they want to pickup their hold from','YesNo'),
414
('OPACAmazonCoverImages','0','','Display cover images on OPAC from Amazon Web Services','YesNo'),
414
('OPACAmazonCoverImages','0','','Display cover images on OPAC from Amazon Web Services','YesNo'),
415
('OPACAuthorIdentifiers','0','','Display author identifiers on the OPAC detail page','YesNo'),
415
('OpacAuthorities','1',NULL,'If ON, enables the search authorities link on OPAC','YesNo'),
416
('OpacAuthorities','1',NULL,'If ON, enables the search authorities link on OPAC','YesNo'),
416
('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'),
417
('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'),
417
('opacbookbag','1','','If ON, enables display of Cart feature','YesNo'),
418
('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