From de49b8cd3a45941565f6d2bf7e856eeb6af75c8f 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 Signed-off-by: Tomas Cohen Arazi --- 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 bd00761af6..1bf9ae87d4 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 ) %] @@ -742,6 +743,7 @@ List name Contents Type + Modification date   @@ -758,6 +760,7 @@ Public [% END %] + [% s.lastmodified | $KohaDates %] [% IF s.can_be_managed( loggedinusernumber ) %]
-- 2.39.2