From 83912a8e6a86290ddfda8c7b9007d0640ae2e365 Mon Sep 17 00:00:00 2001 From: Liz Rea Date: Tue, 19 Sep 2017 15:29:22 +1200 Subject: [PATCH] Bug 19338 - Dates sorting incorrectly 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. --- koha-tmpl/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 9c5ffad..795203a 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 @@