Bugzilla – Attachment 33499 Details for
Bug 13236
Regression: Table of checkouts no longer preselects overdue items for rewewal
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 13236 - Regression: Table of checkouts no longer preselects overdue items for rewewal
Bug-13236---Regression-Table-of-checkouts-no-longe.patch (text/plain), 1.98 KB, created by
Owen Leonard
on 2014-11-12 17:31:09 UTC
(
hide
)
Description:
Bug 13236 - Regression: Table of checkouts no longer preselects overdue items for rewewal
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2014-11-12 17:31:09 UTC
Size:
1.98 KB
patch
obsolete
>From 582b23275874c2b410f4d1a606a4ea8a8663c7ba Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >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 += "<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'>(" >-- >1.7.9.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 13236
:
33499
|
33524
|
33535