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 <kyle@bywatersolutions.com> Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> Works as described, no problems found. Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
This commit is contained in:
parent
fdc60b0d10
commit
48db11d68b
1 changed files with 5 additions and 1 deletions
|
@ -323,7 +323,11 @@ $(document).ready(function() {
|
|||
|
||||
if ( oObj.renewals_remaining && oObj.onsite_checkout == 0 ) {
|
||||
content += "<span class='" + span_class + "' style='" + span_style + "'>"
|
||||
+ "<input type='checkbox' class='renew' id='renew_" + oObj.itemnumber + "' name='renew' value='" + oObj.itemnumber +"'/>"
|
||||
+ "<input type='checkbox' ";
|
||||
if ( oObj.date_due_overdue ) {
|
||||
content += "checked='checked' ";
|
||||
}
|
||||
content += "class='renew' id='renew_" + oObj.itemnumber + "' name='renew' value='" + oObj.itemnumber +"'/>"
|
||||
+ "</span>";
|
||||
|
||||
content += "<span class='renewals'>("
|
||||
|
|
Loading…
Reference in a new issue