From d3466bf7a3ba554d0ecd0fe0143628a468b4b7ff 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=utf8 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 Signed-off-by: Nick Clemens Signed-off-by: Jonathan Druart (cherry picked from commit b3be51d4ef2145b7db7b48c9ee32f86ddd34a964) Signed-off-by: Lucas Gass --- .../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.39.5
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 %]