From a4e5026036f63d207937ae0e787effe807f43703 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 Signed-off-by: Nick Clemens (cherry picked from commit a0072fa491e8607a9aad54d8e07db5d20fefbbfe) Signed-off-by: Fridolin Somers --- .../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 9c5ffad2a1..e332cd23ce 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 @@ -181,7 +181,11 @@