From 09539a718e155c6cbfa9fc42e46510b6307493bc 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 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 --- .../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 bf81f012e2..deae3b25f3 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.11.0
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 %]