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

(-)a/installer/data/mysql/atomicupdate/bug_29990_-_add_ShowHeadingUse_syspref.pl (+12 lines)
Line 0 Link Here
1
use Modern::Perl;
2
3
return {
4
    bug_number => "29990",
5
    description => "Add new system preference ShowHeadingUse",
6
    up => sub {
7
        my ($args) = @_;
8
        my ($dbh, $out) = @$args{qw(dbh out)};
9
10
        $dbh->do(q{INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type) VALUES ('ShowHeadingUse', '0', NULL, 'Show whether authority record contains an established heading that conforms to descriptive cataloguing rules, and can therefore be used as a main/added entry, or subject, or series title', 'YesNo') });
11
    },
12
};
(-)a/installer/data/mysql/mandatory/sysprefs.sql (+1 lines)
Lines 617-622 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
617
('ShowAllCheckins', '0', '', 'Show all checkins', 'YesNo'),
617
('ShowAllCheckins', '0', '', 'Show all checkins', 'YesNo'),
618
('ShowComponentRecords', 'nowhere', 'nowhere|staff|opac|both','In which record detail pages to show list of the component records, as linked via 773','Choice'),
618
('ShowComponentRecords', 'nowhere', 'nowhere|staff|opac|both','In which record detail pages to show list of the component records, as linked via 773','Choice'),
619
('MaxComponentRecords', '300', '','Max number of component records to display','Integer'),
619
('MaxComponentRecords', '300', '','Max number of component records to display','Integer'),
620
('ShowHeadingUse', '0', NULL, 'Show whether authority record contains an established heading that conforms to descriptive cataloguing rules, and can therefore be used as a main/added entry, or subject, or series title', 'YesNo'
620
('showLastPatron','0','','If ON, enables the last patron feature in the intranet','YesNo'),
621
('showLastPatron','0','','If ON, enables the last patron feature in the intranet','YesNo'),
621
('ShowPatronImageInWebBasedSelfCheck','0','','If ON, displays patron image when a patron uses web-based self-checkout','YesNo'),
622
('ShowPatronImageInWebBasedSelfCheck','0','','If ON, displays patron image when a patron uses web-based self-checkout','YesNo'),
622
('ShowReviewer','full','none|full|first|surname|firstandinitial|username','Choose how a commenter\'s identity is presented alongside comments in the OPAC','Choice'),
623
('ShowReviewer','full','none|full|first|surname|firstandinitial|username','Choose how a commenter\'s identity is presented alongside comments in the OPAC','Choice'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/searching.pref (-1 / +6 lines)
Lines 282-287 Searching: Link Here
282
                  1: Do
282
                  1: Do
283
                  0: "Don't"
283
                  0: "Don't"
284
            - "make item MARC tags available to XSLT stylesheets. Default is \"Don't\", items are displayed using other methods."
284
            - "make item MARC tags available to XSLT stylesheets. Default is \"Don't\", items are displayed using other methods."
285
        -
286
            - pref: ShowHeadingUse
287
              choices:
288
                  1: Show
289
                  0: "Don't show"
290
            - "whether an authority record contains an established heading that conforms to descriptive cataloguing rules, and can therefore be used as a main/added entry, or subject, or series title."
285
    Did you mean/spell checking:
291
    Did you mean/spell checking:
286
        -
292
        -
287
            - "Swedish service for spellchecking.<br/>"
293
            - "Swedish service for spellchecking.<br/>"
288
- 

Return to bug 29990