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

(-)a/installer/data/mysql/atomicupdate/Bug11976-DisplayPublishedDate.sql (+1 lines)
Line 0 Link Here
1
INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES ('OPACSerialDisplayPublishedDate', 'both', 'publication|receival|both', 'Which date should be displayed in the OPAC page of a serial', 'Choice');
(-)a/installer/data/mysql/sysprefs.sql (+1 lines)
Lines 376-381 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
376
('OpacSeparateHoldings','0',NULL,'Separate current branch holdings from other holdings (OPAC)','YesNo'),
376
('OpacSeparateHoldings','0',NULL,'Separate current branch holdings from other holdings (OPAC)','YesNo'),
377
('OpacSeparateHoldingsBranch','homebranch','homebranch|holdingbranch','Branch used to separate holdings (OPAC)','Choice'),
377
('OpacSeparateHoldingsBranch','homebranch','homebranch|holdingbranch','Branch used to separate holdings (OPAC)','Choice'),
378
('opacSerialDefaultTab','subscriptions','holdings|serialcollection|subscriptions','Define the default tab for serials in OPAC.','Choice'),
378
('opacSerialDefaultTab','subscriptions','holdings|serialcollection|subscriptions','Define the default tab for serials in OPAC.','Choice'),
379
('OPACSerialDisplayPublishedDate', 'both', 'publication|receival|both', 'Which date should be displayed in the OPAC page of a serial', 'Choice'),
379
('OPACSerialIssueDisplayCount','3','','Number of serial issues to display per subscription in the OPAC','Integer'),
380
('OPACSerialIssueDisplayCount','3','','Number of serial issues to display per subscription in the OPAC','Integer'),
380
('OPACShelfBrowser','1','','Enable/disable Shelf Browser on item details page. WARNING: this feature is very resource consuming on collections with large numbers of items.','YesNo'),
381
('OPACShelfBrowser','1','','Enable/disable Shelf Browser on item details page. WARNING: this feature is very resource consuming on collections with large numbers of items.','YesNo'),
381
('OPACShowBarcode','0','','Show items barcode in holding tab','YesNo'),
382
('OPACShowBarcode','0','','Show items barcode in holding tab','YesNo'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/serials.pref (+8 lines)
Lines 8-13 Serials: Link Here
8
              serialcollection: Serial Collection tab
8
              serialcollection: Serial Collection tab
9
        - as default tab for serials in OPAC. Please note that the Serial Collection tab is currently available only for UNIMARC.
9
        - as default tab for serials in OPAC. Please note that the Serial Collection tab is currently available only for UNIMARC.
10
    -
10
    -
11
        - Display the
12
        - pref: OPACSerialDisplayPublishedDate
13
          choices:
14
              publication: "publication date"
15
              receival: "receival date"
16
              both: "publication and receival dates"
17
        - in the OPAC details tab for serials.
18
    -
11
        - pref: RenewSerialAddsSuggestion
19
        - pref: RenewSerialAddsSuggestion
12
          choices:
20
          choices:
13
              yes: Add
21
              yes: Add
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt (-3 / +12 lines)
Lines 846-859 Link Here
846
                                    <table class="table table-bordered table-striped">
846
                                    <table class="table table-bordered table-striped">
847
                                        <tr>
847
                                        <tr>
848
                                            <th>Issue #</th>
848
                                            <th>Issue #</th>
849
                                            <th>Date</th>
849
                                            [% IF Koha.Preference( 'OPACSerialDisplayPublishedDate' ) == 'publication' || Koha.Preference( 'OPACSerialDisplayPublishedDate' ) == 'both' %]
850
                                                <th>Publication date</th>
851
                                            [% END %]
852
                                            [% IF Koha.Preference( 'OPACSerialDisplayPublishedDate' ) == 'receival' || Koha.Preference( 'OPACSerialDisplayPublishedDate' ) == 'both' %]
853
                                                <th>Receival date</th>
854
                                            [% END %]
850
                                            <th>Status</th>
855
                                            <th>Status</th>
851
                                            <th>Note</th>
856
                                            <th>Note</th>
852
                                        </tr>
857
                                        </tr>
853
                                        [% FOREACH latestserial IN subscription.latestserials %]
858
                                        [% FOREACH latestserial IN subscription.latestserials %]
854
                                            <tr>
859
                                            <tr>
855
                                                <td>[% latestserial.serialseq %]</td>
860
                                                <td>[% latestserial.serialseq %]</td>
856
                                                <td>[% latestserial.planneddate %]</td>
861
                                                [% IF Koha.Preference( 'OPACSerialDisplayPublishedDate' ) == 'publication' || Koha.Preference( 'OPACSerialDisplayPublishedDate' ) == 'both' %]
862
                                                     <td>[% latestserial.publisheddate %]</td>
863
                                                [% END %]
864
                                                [% IF Koha.Preference( 'OPACSerialDisplayPublishedDate' ) == 'receival' || Koha.Preference( 'OPACSerialDisplayPublishedDate' ) == 'both' %]
865
                                                    <td>[% latestserial.planneddate %]</td>
866
                                                [% END %]
857
                                                <td>
867
                                                <td>
858
                                                    [% IF (latestserial.status1 ) %]<span>Expected</span>[% END %]
868
                                                    [% IF (latestserial.status1 ) %]<span>Expected</span>[% END %]
859
                                                    [% IF (latestserial.status2 ) %]<span>Arrived</span>[% END %]
869
                                                    [% IF (latestserial.status2 ) %]<span>Arrived</span>[% END %]
860
- 

Return to bug 11976