Bugzilla – Attachment 79084 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: Catalogue detail date handling improvements
Bug-21376-Catalogue-detail-date-handling-improveme.patch (text/plain), 2.71 KB, created by
Michal Denar
on 2018-09-19 09:30:17 UTC
(
hide
)
Description:
Bug 21376: Catalogue detail date handling improvements
Filename:
MIME Type:
Creator:
Michal Denar
Created:
2018-09-19 09:30:17 UTC
Size:
2.71 KB
patch
obsolete
>From 1f1112ccd42040235dfdb1d0664d155fdfe060c5 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: Catalogue detail date handling improvements > >Changes in this patch (page catalogue/detail): >- added date accesioned to items table >- enable sorting by date for date accesioned and date last seen > >Signed-off-by: Michal Denar <black23@gmail.com> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt | 9 ++++++--- > 1 file changed, 6 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 ce02cb6..93b9149 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,8 @@ > [% 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 class="title-string">Date accessioned</th> > <th>Barcode</th> > [% IF ( volinfo ) %]<th>Serial enumeration / chronology</th>[% END %] > [% IF ( itemdata_uri ) %]<th>URL</th>[% END %] >@@ -474,7 +475,8 @@ > [% END %] > > </td> >- <td class="datelastseen">[% item.datelastseen | $KohaDates %]</td> >+ <td class="datelastseen"><span title="[% item.datelastseen | html %]">[% item.datelastseen | $KohaDates %]</span></td> >+ <td class="dateaccessioned"><span title="[% item.dateaccessioned | html %]">[% item.dateaccessioned | $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 +1102,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.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 21376
:
79071
|
79084
|
79289
|
79290
|
79664
|
79665