Bugzilla – Attachment 114605 Details for
Bug 27294
Error when deleting claim
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27294: Error when deleting claim
Bug-27294-Error-when-deleting-claim.patch (text/plain), 1.77 KB, created by
Owen Leonard
on 2020-12-22 15:00:10 UTC
(
hide
)
Description:
Bug 27294: Error when deleting claim
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2020-12-22 15:00:10 UTC
Size:
1.77 KB
patch
obsolete
>From 9dece5786e82db57f5bc1c91499edb8f999f4732 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Tue, 22 Dec 2020 14:44:59 +0000 >Subject: [PATCH] Bug 27294: Error when deleting claim > >This patch corrects an error which occurs when deleting a claim from the >claims tab on the checkout or patron detail page. > >To test, apply the patch and clear your browser cache if necessary. > >- If necessary, Enable claims returned functionality by defining a value > in the ClaimReturnedLostValue system preference. >- Open for checkout a patron who has items checked out. >- From the table of checkouts, click "Claim returned" for one or more > items. >- Under the "Claims" tab, resolve one or more of the unresolved claims > by choosing "Resolve" under the corresponding "Actions" menu. >- Open the same "Actions" menu again and choose "Delete." >- The claim should be deleted and there should be no error in the > browser console. >- Under the checkouts tab, the table should have refreshed so that the > item which had been marked as "Claimed returned" no longer indicates > an outstanding claim. >--- > koha-tmpl/intranet-tmpl/prog/js/checkouts.js | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js b/koha-tmpl/intranet-tmpl/prog/js/checkouts.js >index 169c318877..365e2527f5 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/checkouts.js >@@ -1113,7 +1113,7 @@ $(document).ready(function() { > type: 'DELETE', > success: function( data ) { > refreshReturnClaimsTable(); >- issuesTable.api().ajax.reload(); >+ $("#issues-table").DataTable().api().ajax.reload(); > } > }); > } >-- >2.11.0
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 27294
:
114605
|
114606
|
115318