@@ -, +, @@ --- koha-tmpl/intranet-tmpl/prog/js/holds.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/koha-tmpl/intranet-tmpl/prog/js/holds.js +++ a/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); --