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

(-)a/admin/columns_settings.yml (+12 lines)
Lines 293-298 modules: Link Here
293
        -
293
        -
294
          columnname: item_coursereserves
294
          columnname: item_coursereserves
295
295
296
      subscriptionst:
297
        -
298
          columnname: serial_serialseq
299
        -
300
          columnname: serial_publisheddate
301
        -
302
          columnname: serial_planneddate
303
        -
304
          columnname: serial_status
305
        -
306
          columnname: serial_notes
307
296
  reports:
308
  reports:
297
    lostitems:
309
    lostitems:
298
      lostitems-table:
310
      lostitems-table:
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt (-6 / +18 lines)
Lines 844-859 Link Here
844
                                [% END %]
844
                                [% END %]
845
                                [% IF ( subscription.latestserials ) %]
845
                                [% IF ( subscription.latestserials ) %]
846
                                    <p class="subscription_latestissues"> The [% subscription.opacdisplaycount %] latest issues for this subscription:</p>
846
                                    <p class="subscription_latestissues"> The [% subscription.opacdisplaycount %] latest issues for this subscription:</p>
847
                                    <table class="table table-bordered table-striped">
847
                                    <table class="table table-bordered table-striped" id="subscriptionst">
848
                                        <tr>
848
                                        <tr>
849
                                            <th>Issue #</th>
849
                                            <th id="serial_serialseq" data-colname="serial_serialseq">Issue #</th>
850
                                            <th>Date</th>
850
                                            <th id="serial_publisheddate" data-colname="serial_publisheddate">Publication date</th>
851
                                            <th>Status</th>
851
                                            <th id="serial_planneddate" data-colname="serial_planneddate">Received date</th>
852
                                            <th>Note</th>
852
                                            <th id="serial_status" data-colname="serial_status">Status</th>
853
                                            <th id="serial_notes" data-colname="serial_notes">Note</th>
853
                                        </tr>
854
                                        </tr>
854
                                        [% FOREACH latestserial IN subscription.latestserials %]
855
                                        [% FOREACH latestserial IN subscription.latestserials %]
855
                                            <tr>
856
                                            <tr>
856
                                                <td>[% latestserial.serialseq %]</td>
857
                                                <td>[% latestserial.serialseq %]</td>
858
                                                <td>[% latestserial.publisheddate %]</td>
857
                                                <td>[% latestserial.planneddate %]</td>
859
                                                <td>[% latestserial.planneddate %]</td>
858
                                                <td>
860
                                                <td>
859
                                                    [% IF (latestserial.status1 ) %]<span>Expected</span>[% END %]
861
                                                    [% IF (latestserial.status1 ) %]<span>Expected</span>[% END %]
Lines 1462-1467 Link Here
1462
            "bKohaColumnsUseNames": true
1464
            "bKohaColumnsUseNames": true
1463
        }, columns_settings);
1465
        }, columns_settings);
1464
1466
1467
        var serial_column_settings = [% ColumnsSettings.GetColumns( 'opac', 'biblio-detail', 'subscriptionst', 'json' ) %];
1468
1469
        KohaTable("#subscriptionst", {
1470
            dom: 'B<"clearfix">t',
1471
            "columnDefs": [
1472
                { "aTargets": [ -1 ], "bSortable": false, "bSearchable": false },
1473
                { "sType": "title-string", "aTargets" : [ "title-string" ] }
1474
                ],
1475
            "bKohaColumnsUseNames": true
1476
        }, serial_column_settings);
1477
1465
[% IF ( TagsInputEnabled && loggedinusername ) %]
1478
[% IF ( TagsInputEnabled && loggedinusername ) %]
1466
        $(".tag_add").click(function(){
1479
        $(".tag_add").click(function(){
1467
            var thisid = $(this).attr("id");
1480
            var thisid = $(this).attr("id");
1468
- 

Return to bug 11976