From 2ccee4e67ba6cd02308cfc1dc883f38bd30bf3aa Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Tue, 20 Oct 2020 16:55:37 +0000 Subject: [PATCH] Bug 26686: Fix sorting of "updated on" and "time created" on notices tab MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In the patron's account in the staff interface there is a tab 'Notices' that shows all notices sent out to a patron. The updated on column would not sort at all, but there was also some markup missing for the time created column. To test: - Make sure you have a patron account with some notices, ideally with different times and dates - Verify that the updated on column doesn't sort at all - Apply patch - Verify both date columns now sort correctly for different DateFormat settings Signed-off-by: Séverine QUEUNE --- .../intranet-tmpl/prog/en/modules/members/notices.tt | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/notices.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/notices.tt index bf81f01..deae3b2 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/notices.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/notices.tt @@ -30,15 +30,15 @@ [% IF ( QUEUED_MESSAGES ) %] - - - - - - - - - + + + + + + + + + [% FOREACH QUEUED_MESSAGE IN QUEUED_MESSAGES %] @@ -74,7 +74,7 @@ [% END %] - + [% END %] -- 2.1.4
NoticeTypeStatusUpdated onTime created
NoticeTypeStatusUpdated onTime created
[% QUEUED_MESSAGE.updated_on | $KohaDates with_hours => 1 %][% QUEUED_MESSAGE.updated_on | $KohaDates with_hours => 1 %] [% QUEUED_MESSAGE.time_queued | $KohaDates with_hours => 1 %]