From 6f7bc759852badba028a9eb398e236ad6d27acf2 Mon Sep 17 00:00:00 2001 From: Liz Rea Date: Tue, 19 Sep 2017 15:29:22 +1200 Subject: [PATCH] Bug 19338: Fix sorting by dates in opac-account.tt To test: Find an account with lots of fines/payments load up the borrower's account in the OPAC note that the sort on the dates sorts by day, and not by date. apply this patch reload the page, note that the sort on the dates is now correct. Signed-off-by: Katrin Fischer Signed-off-by: Alex Arnaud Signed-off-by: Jonathan Druart --- .../opac-tmpl/bootstrap/en/modules/opac-account.tt | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-account.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-account.tt index 44c8555178..7e2d7b91c5 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-account.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-account.tt @@ -71,7 +71,7 @@ [% IF ENABLE_OPAC_PAYMENTS %] [% END %] - Date + Date Description Fine amount Amount outstanding @@ -102,7 +102,7 @@ [% END %] [% END %] - [% ACCOUNT_LINE.date | $KohaDates %] + [% ACCOUNT_LINE.date | $KohaDates %] [% SWITCH ACCOUNT_LINE.accounttype %] [% CASE 'Pay' %]Payment, thanks @@ -186,7 +186,11 @@