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
('OPACShowCheckoutName','0','','Displays in the OPAC the name of patron who has checked out the material. WARNING: Most sites should leave this off. It is intended for corporate or special sites which need to track who has the item.','YesNo'),
382
('OPACShowCheckoutName','0','','Displays in the OPAC the name of patron who has checked out the material. WARNING: Most sites should leave this off. It is intended for corporate or special sites which need to track who has the item.','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 847-860 Link Here
847
                                    <table class="table table-bordered table-striped">
847
                                    <table class="table table-bordered table-striped">
848
                                        <tr>
848
                                        <tr>
849
                                            <th>Issue #</th>
849
                                            <th>Issue #</th>
850
                                            <th>Date</th>
850
                                            [% IF Koha.Preference( 'OPACSerialDisplayPublishedDate' ) == 'publication' || Koha.Preference( 'OPACSerialDisplayPublishedDate' ) == 'both' %]
851
                                                <th>Publication date</th>
852
                                            [% END %]
853
                                            [% IF Koha.Preference( 'OPACSerialDisplayPublishedDate' ) == 'receival' || Koha.Preference( 'OPACSerialDisplayPublishedDate' ) == 'both' %]
854
                                                <th>Receival date</th>
855
                                            [% END %]
851
                                            <th>Status</th>
856
                                            <th>Status</th>
852
                                            <th>Note</th>
857
                                            <th>Note</th>
853
                                        </tr>
858
                                        </tr>
854
                                        [% FOREACH latestserial IN subscription.latestserials %]
859
                                        [% FOREACH latestserial IN subscription.latestserials %]
855
                                            <tr>
860
                                            <tr>
856
                                                <td>[% latestserial.serialseq %]</td>
861
                                                <td>[% latestserial.serialseq %]</td>
857
                                                <td>[% latestserial.planneddate %]</td>
862
                                                [% IF Koha.Preference( 'OPACSerialDisplayPublishedDate' ) == 'publication' || Koha.Preference( 'OPACSerialDisplayPublishedDate' ) == 'both' %]
863
                                                     <td>[% latestserial.publisheddate %]</td>
864
                                                [% END %]
865
                                                [% IF Koha.Preference( 'OPACSerialDisplayPublishedDate' ) == 'receival' || Koha.Preference( 'OPACSerialDisplayPublishedDate' ) == 'both' %]
866
                                                    <td>[% latestserial.planneddate %]</td>
867
                                                [% END %]
858
                                                <td>
868
                                                <td>
859
                                                    [% IF (latestserial.status1 ) %]<span>Expected</span>[% END %]
869
                                                    [% IF (latestserial.status1 ) %]<span>Expected</span>[% END %]
860
                                                    [% IF (latestserial.status2 ) %]<span>Arrived</span>[% END %]
870
                                                    [% IF (latestserial.status2 ) %]<span>Arrived</span>[% END %]
861
- 

Return to bug 11976