Bugzilla – Attachment 68630 Details for
Bug 11976
Add column settings + new column "Publication date" to the subscription table
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11976: Failing counter patch
Bug-11976-Failing-counter-patch.patch (text/plain), 3.91 KB, created by
Mark Tompsett
on 2017-10-26 15:42:14 UTC
(
hide
)
Description:
Bug 11976: Failing counter patch
Filename:
MIME Type:
Creator:
Mark Tompsett
Created:
2017-10-26 15:42:14 UTC
Size:
3.91 KB
patch
obsolete
>From 7ae6b989158c415309143c784d03ec4b4b5c565d Mon Sep 17 00:00:00 2001 >From: Mark Tompsett <mtompset@hotmail.com> >Date: Thu, 26 Oct 2017 11:41:34 -0400 >Subject: [PATCH] Bug 11976: Failing counter patch > >--- > admin/columns_settings.yml | 12 +++++++++++ > .../opac-tmpl/bootstrap/en/modules/opac-detail.tt | 23 +++++++++++++++++----- > 2 files changed, 30 insertions(+), 5 deletions(-) > >diff --git a/admin/columns_settings.yml b/admin/columns_settings.yml >index 397472d..fa5361b 100644 >--- a/admin/columns_settings.yml >+++ b/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: >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >index eb857ec..377bc39 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >@@ -844,16 +844,18 @@ > [% END %] > [% IF ( subscription.latestserials ) %] > <p class="subscription_latestissues"> The [% subscription.opacdisplaycount %] latest issues for this subscription:</p> >- <table class="table table-bordered table-striped"> >+ <table class="table table-bordered table-striped" id="subscriptionst"> > <tr> >- <th>Issue #</th> >- <th>Date</th> >- <th>Status</th> >- <th>Note</th> >+ <th id="serial_serialseq" data-colname="serial_serialseq">Issue #</th> >+ <th id="serial_publisheddate" data-colname="serial_publisheddate">Publication date</th> >+ <th id="serial_planneddate" data-colname="serial_planneddate">Received date</th> >+ <th id="serial_status" data-colname="serial_status">Status</th> >+ <th id="serial_notes" data-colname="serial_notes">Note</th> > </tr> > [% FOREACH latestserial IN subscription.latestserials %] > <tr> > <td>[% latestserial.serialseq %]</td> >+ <td>[% latestserial.publisheddate %]</td> > <td>[% latestserial.planneddate %]</td> > <td> > [% IF (latestserial.status1 ) %]<span>Expected</span>[% 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"); >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 11976
:
26490
|
26491
|
67347
|
67615
|
67964
|
68192
|
68610
|
68611
|
68630
|
68632
|
69003
|
69988
|
70060