Bugzilla – Attachment 70060 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: Fix sorting issues
Bug-11976-Fix-sorting-issues.patch (text/plain), 2.77 KB, created by
Jonathan Druart
on 2017-12-21 15:58:28 UTC
(
hide
)
Description:
Bug 11976: Fix sorting issues
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2017-12-21 15:58:28 UTC
Size:
2.77 KB
patch
obsolete
>From 3b5fdab0527d2df3a1bec88bb22c2e8174b5faab Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 21 Dec 2017 12:57:11 -0300 >Subject: [PATCH] Bug 11976: Fix sorting issues > >The last column must be sortable, and dates must use title-string >I removed the class on the th (did not seem useful as we have an id >already) >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt | 11 +++++------ > 1 file changed, 5 insertions(+), 6 deletions(-) > >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 073fa526a9..664cab74f1 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >@@ -847,11 +847,11 @@ > <table class="table table-bordered table-striped" id="subscriptionst"> > <thead> > <tr> >- <th id="serial_serialseq" data-colname="serial_serialseq" class="serialseq">Issue #</th> >- <th id="serial_publisheddate" data-colname="serial_publisheddate" class="publisheddate">Publication date</th> >- <th id="serial_planneddate" data-colname="serial_planneddate" class="planneddate">Received date</th> >- <th id="serial_status" data-colname="serial_status" class="serial_status">Status</th> >- <th id="serial_notes" data-colname="serial_notes" class="serial_notes">Note</th> >+ <th id="serial_serialseq" data-colname="serial_serialseq">Issue #</th> >+ <th id="serial_publisheddate" data-colname="serial_publisheddate" class="title-string">Publication date</th> >+ <th id="serial_planneddate" data-colname="serial_planneddate" class="title-string">Received date</th> >+ <th id="serial_status" data-colname="serial_status">Status</th> >+ <th id="serial_notes" data-colname="serial_notes">Note</th> > </tr> > </thead> > <tbody> >@@ -1474,7 +1474,6 @@ > KohaTable("#subscriptionst", { > dom: 'B<"clearfix">t', > "columnDefs": [ >- { "aTargets": [ -1 ], "bSortable": false, "bSearchable": false }, > { "sType": "title-string", "aTargets" : [ "title-string" ] } > ], > "bKohaColumnsUseNames": true >-- >2.11.0
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