From 5848b132fa05ecfb17e9530426522ba8ae79ea8d Mon Sep 17 00:00:00 2001 From: Lucas Gass 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 --- .../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