From 582b23275874c2b410f4d1a606a4ea8a8663c7ba Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 11 Nov 2014 20:01:59 -0500 Subject: [PATCH] Bug 13236 - Regression: Table of checkouts no longer preselects overdue items for rewewal Content-Type: text/plain; charset="utf-8" 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. --- 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.7.9.5