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

(-)a/installer/data/mysql/atomicupdate/bug_40070.pl (+19 lines)
Line 0 Link Here
1
use Modern::Perl;
2
use Koha::Installer::Output qw(say_warning say_success say_info);
3
4
return {
5
    bug_number  => "40070",
6
    description => "Add pref DisplayPublishedDate",
7
    up          => sub {
8
        my ($args) = @_;
9
        my ( $dbh, $out ) = @$args{qw(dbh out)};
10
11
        $dbh->do(
12
            q{
13
            INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES
14
            ('DisplayPublishedDate', '1', NULL, 'Display serial publisheddate on detail pages', 'YesNo')
15
            }
16
        );
17
        say_success( $out, "Added new system preference DisplayPublishedDate" );
18
    },
19
};
(-)a/installer/data/mysql/mandatory/sysprefs.sql (+1 lines)
Lines 227-232 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
227
('DisplayMultiItemHolds','0','','Display the ability to place holds on different items at the same time in staff interface and OPAC','YesNo'),
227
('DisplayMultiItemHolds','0','','Display the ability to place holds on different items at the same time in staff interface and OPAC','YesNo'),
228
('DisplayMultiPlaceHold','1','','Display the ability to place multiple holds or not','YesNo'),
228
('DisplayMultiPlaceHold','1','','Display the ability to place multiple holds or not','YesNo'),
229
('DisplayOPACiconsXSLT','1','','If ON, displays the format, audience, and material type icons in XSLT MARC21 results and detail pages in the OPAC.','YesNo'),
229
('DisplayOPACiconsXSLT','1','','If ON, displays the format, audience, and material type icons in XSLT MARC21 results and detail pages in the OPAC.','YesNo'),
230
('DisplayPublishedDate', '1', NULL, 'Display serial publisheddate on detail pages', 'YesNo'),
230
('DumpSearchQueryTemplate',0,'','Add the search query being passed to the search engine into the template for debugging','YesNo'),
231
('DumpSearchQueryTemplate',0,'','Add the search query being passed to the search engine into the template for debugging','YesNo'),
231
('DumpTemplateVarsIntranet',  '0', NULL ,  'If enabled, dump all Template Toolkit variable to a comment in the html source for the staff intranet.',  'YesNo'),
232
('DumpTemplateVarsIntranet',  '0', NULL ,  'If enabled, dump all Template Toolkit variable to a comment in the html source for the staff intranet.',  'YesNo'),
232
('DumpTemplateVarsOpac',  '0', NULL ,  'If enabled, dump all Template Toolkit variable to a comment in the html source for the opac.',  'YesNo'),
233
('DumpTemplateVarsOpac',  '0', NULL ,  'If enabled, dump all Template Toolkit variable to a comment in the html source for the opac.',  'YesNo'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/serials.pref (-1 / +6 lines)
Lines 1-5 Link Here
1
Serials:
1
Serials:
2
    Features:
2
    Features:
3
    -
4
        - pref: DisplayPublishedDate
5
          choices:
6
              1: Show
7
              0: "Don't show"
8
        - date published for a serial issue (item) on OPAC or staff detail page.
3
    -
9
    -
4
        - Show
10
        - Show
5
        - pref: opacSerialDefaultTab
11
        - pref: opacSerialDefaultTab
6
- 

Return to bug 40070