Bugzilla – Attachment 79664 Details for
Bug 21376
Catalogue detail date handling improvements
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21376: Add ability to date sorting in items table on catalogue detail
Bug-21376-Add-ability-to-date-sorting-in-items-tab.patch (text/plain), 2.53 KB, created by
Jonathan Druart
on 2018-09-30 22:51:26 UTC
(
hide
)
Description:
Bug 21376: Add ability to date sorting in items table on catalogue detail
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2018-09-30 22:51:26 UTC
Size:
2.53 KB
patch
obsolete
>From 1285b9197d6254494e7f06ab0263643c67f3b2b9 Mon Sep 17 00:00:00 2001 >From: Josef Moravec <josef.moravec@gmail.com> >Date: Wed, 19 Sep 2018 06:05:12 +0000 >Subject: [PATCH] Bug 21376: Add ability to date sorting in items table on > catalogue detail > >Changes in this patch (page catalogue/detail): >- enable sorting by date in items table > >Signed-off-by: Michal Denar <black23@gmail.com> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >index ce02cb63fe..2736f507ea 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >@@ -353,7 +353,7 @@ > [% IF ( itemdata_ccode ) %]<th>Collection</th>[% END %] > <th>Call number</th> > <th>Status</th> >- <th>Last seen</th> >+ <th class="title-string">Last seen</th> > <th>Barcode</th> > [% IF ( volinfo ) %]<th>Serial enumeration / chronology</th>[% END %] > [% IF ( itemdata_uri ) %]<th>URL</th>[% END %] >@@ -474,7 +474,7 @@ > [% END %] > > </td> >- <td class="datelastseen">[% item.datelastseen | $KohaDates %]</td> >+ <td class="datelastseen"><span title="[% item.datelastseen | html %]">[% item.datelastseen | $KohaDates %]</span></td> > <td><a href="/cgi-bin/koha/catalogue/moredetail.pl?type=[% item.type | html %]&itemnumber=[% item.itemnumber | html %]&biblionumber=[% item.biblionumber | html %]&bi=[% item.biblioitemnumber | html %]#item[% item.itemnumber | html %]">[% item.barcode | html %]</a></td> > [% IF ( volinfo ) %] > <td class="enumchron"> >@@ -1100,7 +1100,8 @@ > 'bPaginate': false, > 'bAutoWidth': false, > "aoColumnDefs": [ >- { "bSortable": false, "bSearchable": false, 'aTargets': [ 'NoSort' ] } >+ { "bSortable": false, "bSearchable": false, 'aTargets': [ 'NoSort' ] }, >+ { "sType": "title-string", "aTargets" : [ "title-string" ] } > ] > }; > var table = KohaTable(id, dt_parameters, null, 'with_filters'); >-- >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 21376
:
79071
|
79084
|
79289
|
79290
| 79664 |
79665