From 41b0a245be36f70bac384cd88fc65956178ed080 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 15 Apr 2014 15:09:30 -0400 Subject: [PATCH] [PASSED QA] Bug 12089 - [SIGNED OFF] Remove use of dt_add_type_uk_date() - Members This patch removes use of dt_add_type_uk_date() from the circulation history page and updates the sorting configuration according to current guidelines. The patch also makes corrections for HTML validity. To test, open the circulation history page for a patron with a history of checkouts. Confirm that the date, title, checkout date, due date, and return date columns sort correctly. Signed-off-by: David Cook Signed-off-by: Katrin Fischer --- .../prog/en/modules/members/readingrec.tt | 44 ++++++++++------------ 1 file changed, 20 insertions(+), 24 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt index 29fe1af..5460ea0 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt @@ -8,23 +8,12 @@ // - Date - Title + + Date + Title Author Call no. Barcode Number of renewals - Checked out on + Checked out on Checked out from - Date due - Return date + Date due + Return date + + [% FOREACH issue IN loop_reading %] [% IF issue.returndate %][% ELSE %][% END %] - [% issue.issuestimestamp | $KohaDates %] + [% issue.issuestimestamp | $KohaDates %] [% issue.title |html %] @@ -88,21 +80,25 @@ [% issue.renewals %] - [% issue.issuedate | $KohaDates %] + [% issue.issuedate | $KohaDates %] [% issue.issuingbranch %] [% IF issue.date_due %] - [% issue.date_due | $KohaDates %] - [% ELSE %] [% END %] + [% issue.date_due | $KohaDates %] + [% ELSE %] + + [% END %] + [% IF issue.returndate %] [% issue.returndate | $KohaDates %] [% ELSE %] - Checked Out + Checked out [% END %] [% END %] + [% END %] -- 1.8.3.2