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

(-)a/installer/data/mysql/atomicupdate/Bug11976-DisplayPublishedDate.sql (-1 / +1 lines)
Line 1 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');
1
INSERT IGNORE INTO systempreferences ( variable, value, options, explanation, type ) VALUES ('OPACSerialDisplayDate', 'both', 'publication|received|both', 'Which date should be displayed in the OPAC page of a serial', 'Choice');
(-)a/installer/data/mysql/sysprefs.sql (-1 / +1 lines)
Lines 376-382 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
('OPACSerialDisplayDate', 'both', 'publication|received|both', 'Which date should be displayed in the OPAC page of a serial', 'Choice'),
380
('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'),
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
('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'),
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'),
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 (-3 / +3 lines)
Lines 9-19 Serials: Link Here
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
11
        - Display the
12
        - pref: OPACSerialDisplayPublishedDate
12
        - pref: OPACSerialDisplayDate
13
          choices:
13
          choices:
14
              publication: "publication date"
14
              publication: "publication date"
15
              receival: "receival date"
15
              received: "received date"
16
              both: "publication and receival dates"
16
              both: "publication and received dates"
17
        - in the OPAC details tab for serials.
17
        - in the OPAC details tab for serials.
18
    -
18
    -
19
        - pref: RenewSerialAddsSuggestion
19
        - pref: RenewSerialAddsSuggestion
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt (-6 / +5 lines)
Lines 847-857 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
                                            [% IF Koha.Preference( 'OPACSerialDisplayPublishedDate' ) == 'publication' || Koha.Preference( 'OPACSerialDisplayPublishedDate' ) == 'both' %]
850
                                            [% IF Koha.Preference( 'OPACSerialDisplayDate' ) == 'publication' || Koha.Preference( 'OPACSerialDisplayDate' ) == 'both' %]
851
                                                <th>Publication date</th>
851
                                                <th>Publication date</th>
852
                                            [% END %]
852
                                            [% END %]
853
                                            [% IF Koha.Preference( 'OPACSerialDisplayPublishedDate' ) == 'receival' || Koha.Preference( 'OPACSerialDisplayPublishedDate' ) == 'both' %]
853
                                            [% IF Koha.Preference( 'OPACSerialDisplayDate' ) == 'received' || Koha.Preference( 'OPACSerialDisplayDate' ) == 'both' %]
854
                                                <th>Receival date</th>
854
                                                <th>Received date</th>
855
                                            [% END %]
855
                                            [% END %]
856
                                            <th>Status</th>
856
                                            <th>Status</th>
857
                                            <th>Note</th>
857
                                            <th>Note</th>
Lines 859-868 Link Here
859
                                        [% FOREACH latestserial IN subscription.latestserials %]
859
                                        [% FOREACH latestserial IN subscription.latestserials %]
860
                                            <tr>
860
                                            <tr>
861
                                                <td>[% latestserial.serialseq %]</td>
861
                                                <td>[% latestserial.serialseq %]</td>
862
                                                [% IF Koha.Preference( 'OPACSerialDisplayPublishedDate' ) == 'publication' || Koha.Preference( 'OPACSerialDisplayPublishedDate' ) == 'both' %]
862
                                                [% IF Koha.Preference( 'OPACSerialDisplayDate' ) == 'publication' || Koha.Preference( 'OPACSerialDisplayDate' ) == 'both' %]
863
                                                     <td>[% latestserial.publisheddate %]</td>
863
                                                     <td>[% latestserial.publisheddate %]</td>
864
                                                [% END %]
864
                                                [% END %]
865
                                                [% IF Koha.Preference( 'OPACSerialDisplayPublishedDate' ) == 'receival' || Koha.Preference( 'OPACSerialDisplayPublishedDate' ) == 'both' %]
865
                                                [% IF Koha.Preference( 'OPACSerialDisplayDate' ) == 'received' || Koha.Preference( 'OPACSerialDisplayDate' ) == 'both' %]
866
                                                    <td>[% latestserial.planneddate %]</td>
866
                                                    <td>[% latestserial.planneddate %]</td>
867
                                                [% END %]
867
                                                [% END %]
868
                                                <td>
868
                                                <td>
869
- 

Return to bug 11976