Bugzilla – Attachment 107695 Details for
Bug 24176
Show the date of the last circulation in the items table in the staff interface
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24176: Add datalastseen column to holdings table
Bug-24176-Add-datalastseen-column-to-holdings-tabl.patch (text/plain), 3.41 KB, created by
ByWater Sandboxes
on 2020-08-03 10:33:11 UTC
(
hide
)
Description:
Bug 24176: Add datalastseen column to holdings table
Filename:
MIME Type:
Creator:
ByWater Sandboxes
Created:
2020-08-03 10:33:11 UTC
Size:
3.41 KB
patch
obsolete
>From 0b18028242a00234f93629d02f526779b48cfd2e Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Sun, 2 Aug 2020 16:49:59 +0000 >Subject: [PATCH] Bug 24176: Add datalastseen column to holdings table > >This patch adds the datelastseen column to the holdings table and also makes it column configurable. >To Test: >-Apply patch and have a look at some item records. >-Notice the datalastseen column >-Make sure it wroks and its displaying the datelastseen correctly >-Go to the column configuration tools and make sure you can properly hide this column. > >Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk> >--- > admin/columns_settings.yml | 2 ++ > koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt | 2 ++ > 2 files changed, 4 insertions(+) > >diff --git a/admin/columns_settings.yml b/admin/columns_settings.yml >index 1a24b3084b..085a4f6ad3 100644 >--- a/admin/columns_settings.yml >+++ b/admin/columns_settings.yml >@@ -289,6 +289,8 @@ modules: > - > columnname: holdings_dateaccessioned > - >+ columnname: holdings_datelastborrowed >+ - > columnname: holdings_barcode > - > columnname: holdings_enumchron >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 8903ec5b66..dad9adeb4c 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >@@ -288,6 +288,7 @@ > <th id="[% tab | html %]_status" data-colname="[% tab | html %]_status">Status</th> > <th id="[% tab | html %]_lastseen" data-colname="[% tab | html %]_lastseen" class="title-string">Last seen</th> > <th id="[% tab | html %]_dateaccessioned" data-colname="[% tab | html %]_dateaccessioned" class="title-string">Date accessioned</th> >+ <th id="[% tab | html %]_datelastborrowed" data-colname="[% tab | html %]_datelastborrowed" class="title-string">Date last borrowed</th> > <th id="[% tab | html %]_barcode" data-colname="[% tab | html %]_barcode">Barcode</th> > [% IF ( itemdata_uri ) %]<th id="[% tab | html %]_uri" data-colname="[% tab | html %]_uri">URL</th>[% END %] > [% IF ( itemdata_copynumber ) %]<th id="[% tab | html %]_copynumber" data-colname="[% tab | html %]_copynumber">Copy number</th>[% END %] >@@ -450,6 +451,7 @@ Note that permanent location is a code, and location may be an authval. > </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 class="datelastborrowed"><span title="[% item.datelastborrowed | html %]">[% item.datelastborrowed | $KohaDates %]</span></td> > <td><a href="/cgi-bin/koha/catalogue/moredetail.pl?type=[% item.type | uri %]&itemnumber=[% item.itemnumber | uri %]&biblionumber=[% item.biblionumber | uri %]&bi=[% item.biblioitemnumber | uri %]#item[% item.itemnumber | uri %]">[% item.barcode | html %]</a></td> > [% IF ( itemdata_uri ) %] > [% IF item.uri.split(' \| ').size > 1 %] >-- >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 24176
:
96001
|
96803
|
98984
|
107663
|
107695
|
108019