From 9310880c89b638b396ac8b2f58e235a4fcb5161e Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 11 Nov 2014 20:01:59 -0500 Subject: [PATCH] [PASSED QA] Bug 13236 - Regression: Table of checkouts no longer preselects overdue items for rewewal Before Bug 11703, overdue items in the list of a patrons checkouts had the renewal checkbox preselected so that librarians could quickly renew only those items which required it. This is not longer the case. This patch corrects it. To test, apply the patch and clear your browser cache. Check out to a patron who has overdues and confirm that the overdue items have the "renew" checkbox preselected. Check that items which are not overdue are not preselected. Signed-off-by: Kyle M Hall Signed-off-by: Katrin Fischer Works as described, no problems found. --- koha-tmpl/intranet-tmpl/prog/en/js/checkouts.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/js/checkouts.js b/koha-tmpl/intranet-tmpl/prog/en/js/checkouts.js index e333776..dbb652d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/js/checkouts.js +++ b/koha-tmpl/intranet-tmpl/prog/en/js/checkouts.js @@ -309,7 +309,11 @@ $(document).ready(function() { if ( oObj.renewals_remaining && oObj.onsite_checkout == 0 ) { content += "" - + "" + + "" + ""; content += "(" -- 1.9.1