From 33399ca1259eaf9b06ecc9da40a12dd93f4d3d9d Mon Sep 17 00:00:00 2001 From: David Cook Date: Mon, 5 Dec 2022 05:34:12 +0000 Subject: [PATCH] Bug 32402: Add "Modification date" to OPAC Lists table This change adds a "Modification date" column to the OPAC Lists table, so that you can see when a list was last modified. Test plan: 1. Apply patch 2. Create a public list and a private list 3. Go to http://localhost:8080/cgi-bin/koha/opac-shelves.pl?op=list&public=1 4. Note that "Modification date" appears in the relevant date format on both the "Your lists" and "Public lists" tabs Signed-off-by: David Nind Signed-off-by: Fridolin Somers --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt index 93a35b7225..07713ddaa1 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt @@ -1,6 +1,7 @@ [% USE raw %] [% USE Asset %] [% USE Koha %] +[% USE KohaDates %] [% USE AdditionalContents %] [% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %] [% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %] @@ -714,6 +715,7 @@ List name Contents Type + Modification date   @@ -730,6 +732,7 @@ Public [% END %] + [% s.lastmodified | $KohaDates %] [% IF s.can_be_managed( loggedinusernumber ) %]
-- 2.39.0