Bugzilla – Attachment 119714 Details for
Bug 18729
Librarian unable to update hold pickup library from patron pages without "modify_holds_priority" permission
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18729: Adapt holds.js
Bug-18729-Adapt-holdsjs.patch (text/plain), 1.22 KB, created by
Martin Renvoize
on 2021-04-16 11:59:18 UTC
(
hide
)
Description:
Bug 18729: Adapt holds.js
Filename:
MIME Type:
Creator:
Martin Renvoize
Created:
2021-04-16 11:59:18 UTC
Size:
1.22 KB
patch
obsolete
>From 92fd5cd2ec1c17e7db8c8683ad83549f76abf1c0 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Mon, 14 Dec 2020 12:27:05 -0300 >Subject: [PATCH] Bug 18729: Adapt holds.js > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >Signed-off-by: David Nind <david@davidnind.com> >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > koha-tmpl/intranet-tmpl/prog/js/holds.js | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/holds.js b/koha-tmpl/intranet-tmpl/prog/js/holds.js >index 364183507d..c38e4f6d03 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/holds.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/holds.js >@@ -228,7 +228,7 @@ $(document).ready(function() { > $.ajax({ > method: "PUT", > url: api_url, >- data: $(this).val(), >+ data: JSON.stringify({ "pickup_library_id": $(this).val() }), > success: function( data ){ holdsTable.api().ajax.reload(); }, > error: function( jqXHR, textStatus, errorThrown) { > alert('There was an error:'+textStatus+" "+errorThrown); >-- >2.20.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 18729
:
114067
|
114311
|
114337
|
114388
|
114389
|
114390
|
114391
|
114393
|
114394
|
114395
|
114396
|
117656
|
117657
|
117658
|
117659
|
119711
|
119712
|
119713
| 119714