@@ -, +, @@ --- admin/columns_settings.yml | 12 +++++++++++ .../opac-tmpl/bootstrap/en/modules/opac-detail.tt | 23 +++++++++++++++++----- 2 files changed, 30 insertions(+), 5 deletions(-) --- a/admin/columns_settings.yml +++ a/admin/columns_settings.yml @@ -293,6 +293,18 @@ modules: - columnname: item_coursereserves + subscriptionst: + - + columnname: serial_serialseq + - + columnname: serial_publisheddate + - + columnname: serial_planneddate + - + columnname: serial_status + - + columnname: serial_notes + reports: lostitems: lostitems-table: --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt +++ a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt @@ -844,16 +844,18 @@ [% END %] [% IF ( subscription.latestserials ) %]
The [% subscription.opacdisplaycount %] latest issues for this subscription:
-Issue # | -Date | -Status | -Note | +Issue # | +Publication date | +Received date | +Status | +Note |
---|---|---|---|---|---|---|---|---|
[% latestserial.serialseq %] | +[% latestserial.publisheddate %] | [% latestserial.planneddate %] | [% IF (latestserial.status1 ) %]Expected[% END %] @@ -1462,6 +1464,17 @@ "bKohaColumnsUseNames": true }, columns_settings); + var serial_column_settings = [% ColumnsSettings.GetColumns( 'opac', 'biblio-detail', 'subscriptionst', 'json' ) %]; + + KohaTable("#subscriptionst", { + dom: 'B<"clearfix">t', + "columnDefs": [ + { "aTargets": [ -1 ], "bSortable": false, "bSearchable": false }, + { "sType": "title-string", "aTargets" : [ "title-string" ] } + ], + "bKohaColumnsUseNames": true + }, serial_column_settings); + [% IF ( TagsInputEnabled && loggedinusername ) %] $(".tag_add").click(function(){ var thisid = $(this).attr("id"); -- |