Bugzilla – Attachment 170506 Details for
Bug 37688
Staff biblio detail view shows last_seen_date as date instead of datetime
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37688: Change last_seen_date column to datetime
Bug-37688-Change-lastseendate-column-to-datetime.patch (text/plain), 1.39 KB, created by
ByWater Sandboxes
on 2024-08-20 20:11:16 UTC
(
hide
)
Description:
Bug 37688: Change last_seen_date column to datetime
Filename:
MIME Type:
Creator:
ByWater Sandboxes
Created:
2024-08-20 20:11:16 UTC
Size:
1.39 KB
patch
obsolete
>From 5848b132fa05ecfb17e9530426522ba8ae79ea8d Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Tue, 20 Aug 2024 19:39:01 +0000 >Subject: [PATCH] Bug 37688: Change last_seen_date column to datetime > >To test: >1. Bring up some items in staff detail view ( holdings table ) >2. If the "Last seen" column is hidden unhide it via Table settings >3. Notice that the column shows only the date. >4. APPLY PATCH >5. Look now and you should see it is datetime. >6. Make sure it is accurate. > >Signed-off-by: Laura ONeil <laura@bywatersolutions.com> >--- > .../en/includes/html_helpers/tables/items/catalogue_detail.inc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc >index c1771d0cfb..00e451e4ef 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc >@@ -556,7 +556,7 @@ > searchable: true, > orderable: true, > render: function (data, type, row, meta) { >- return $date(row.last_seen_date); >+ return $datetime(row.last_seen_date); > } > }, > { >-- >2.39.2
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 37688
:
170505
| 170506