Bugzilla – Attachment 33535 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]
[PASSED QA] Bug 13236 - Regression: Table of checkouts no longer preselects overdue items for rewewal
PASSED-QA-Bug-13236---Regression-Table-of-checkout.patch (text/plain), 2.09 KB, created by
Katrin Fischer
on 2014-11-13 20:41:33 UTC
(
hide
)
Description:
[PASSED QA] Bug 13236 - Regression: Table of checkouts no longer preselects overdue items for rewewal
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2014-11-13 20:41:33 UTC
Size:
2.09 KB
patch
obsolete
>From 9310880c89b638b396ac8b2f58e235a4fcb5161e Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >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 <kyle@bywatersolutions.com> >Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> >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 += "<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.9.1
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