Bugzilla – Attachment 166723 Details for
Bug 36060
If issues table includes overdues 'Renew selected items' button is disabled
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36060: (follow-up) Remember selections when refreshing the table
Bug-36060-follow-up-Remember-selections-when-refre.patch (text/plain), 1.17 KB, created by
Lucas Gass (lukeg)
on 2024-05-14 18:18:55 UTC
(
hide
)
Description:
Bug 36060: (follow-up) Remember selections when refreshing the table
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2024-05-14 18:18:55 UTC
Size:
1.17 KB
patch
obsolete
>From c42615534f7df94328e68da28c87bd0e253b2891 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Tue, 14 May 2024 18:18:05 +0000 >Subject: [PATCH] Bug 36060: (follow-up) Remember selections when refreshing > the table > >--- > koha-tmpl/intranet-tmpl/prog/js/checkouts.js | 9 ++++++++- > 1 file changed, 8 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js b/koha-tmpl/intranet-tmpl/prog/js/checkouts.js >index 449ce57e97..a2b540e971 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/checkouts.js >@@ -14,9 +14,16 @@ function RefreshIssuesTable() { > return this.value; > }).get(); > table.ajax.reload( function() { >- CheckRenewCheckinBoxes(); > var checkout_count = table.page.info().recordsTotal; > $('.checkout_count').text(checkout_count); >+ renewchecked.forEach( function(item) { >+ $('.renew[value="'+item+'"]').prop('checked' , true ); >+ }); >+ >+ checkinchecked.forEach( function(item) { >+ $('.checkin[value="'+item+'"]').prop('checked' , true ); >+ }); >+ CheckRenewCheckinBoxes(); > }); > } > >-- >2.39.2
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 36060
:
161991
|
162459
|
162673
|
164036
|
166723
|
166942
|
166943