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

(-)a/installer/data/mysql/atomicupdate/bug_36616_-_add_LinkEstablishedHeadings_syspref.pl (+17 lines)
Line 0 Link Here
1
use Modern::Perl;
2
3
return {
4
    bug_number  => "36616",
5
    description => "Optionally restrict links to established headings only",
6
    up          => sub {
7
        my ($args) = @_;
8
        my ( $dbh, $out ) = @$args{qw(dbh out)};
9
10
        $dbh->do(
11
            q{ INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type) VALUES ('LinkEstablishedHeadings', '0', NULL, 'When enabled, bibliographic records will only be able to link to established headings, as indicated by the 008/09', 'YesNo') }
12
        );
13
14
        say $out "Added system preference 'LinkEstablishedHeadings'";
15
    },
16
};
17
(-)a/installer/data/mysql/mandatory/sysprefs.sql (+1 lines)
Lines 368-373 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
368
('LinkerModule','Default','Default|FirstMatch|LastMatch','Chooses which linker module to use (see documentation).','Choice'),
368
('LinkerModule','Default','Default|FirstMatch|LastMatch','Chooses which linker module to use (see documentation).','Choice'),
369
('LinkerOptions','','','A pipe-separated list of options for the linker.','free'),
369
('LinkerOptions','','','A pipe-separated list of options for the linker.','free'),
370
('LinkerRelink','1',NULL,'If ON the authority linker will relink headings that have previously been linked every time it runs.','YesNo'),
370
('LinkerRelink','1',NULL,'If ON the authority linker will relink headings that have previously been linked every time it runs.','YesNo'),
371
('LinkEstablishedHeadings', '0', NULL, 'When enabled, bibliographic records will only be able to link to established headings, as indicated by the 008/09', 'YesNo'),
371
('ListOwnerDesignated', NULL, NULL, 'Designated list owner at patron deletion', 'Free'),
372
('ListOwnerDesignated', NULL, NULL, 'Designated list owner at patron deletion', 'Free'),
372
('ListOwnershipUponPatronDeletion', 'delete', 'delete|transfer', 'Defines the action on their public or shared lists when patron is deleted', 'Choice'),
373
('ListOwnershipUponPatronDeletion', 'delete', 'delete|transfer', 'Defines the action on their public or shared lists when patron is deleted', 'Choice'),
373
('LoadCheckoutsTableDelay','0','','Delay before auto-loading checkouts table on checkouts screen','Integer'),
374
('LoadCheckoutsTableDelay','0','','Delay before auto-loading checkouts table on checkouts screen','Integer'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/authorities.pref (-1 / +7 lines)
Lines 95-100 Authorities: Link Here
95
            - Display the MARC field/subfields
95
            - Display the MARC field/subfields
96
            - pref: AdditionalFieldsInZ3950ResultAuthSearch
96
            - pref: AdditionalFieldsInZ3950ResultAuthSearch
97
            - " in the 'Additional fields' column of Z39.50 search results (use comma as delimiter e.g.: \"<code>001, 035$a</code>\")"
97
            - " in the 'Additional fields' column of Z39.50 search results (use comma as delimiter e.g.: \"<code>001, 035$a</code>\")"
98
        -
99
            - pref: LinkEstablishedHeadings
100
              default: no
101
              choices:
102
                0: "All headings"
103
                1: "Only established headings, as indicated by the 008/09"
104
            - can be linked to bibliographic records, and will show in authority plugin search results when cataloguing.
98
105
99
    Linker:
106
    Linker:
100
        -
107
        -
101
- 

Return to bug 36616