From 48db11d68b7f83588903d7c9621a144ca3be8d3a 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 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. Signed-off-by: Tomas Cohen Arazi --- 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 936054894e..c5fd02b00e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/js/checkouts.js +++ b/koha-tmpl/intranet-tmpl/prog/en/js/checkouts.js @@ -323,7 +323,11 @@ $(document).ready(function() { if ( oObj.renewals_remaining && oObj.onsite_checkout == 0 ) { content += "" - + "" + + "" + ""; content += "(" -- 2.39.2