diff --git a/koha-tmpl/intranet-tmpl/prog/js/holds.js b/koha-tmpl/intranet-tmpl/prog/js/holds.js index c38e4f6d03..e076fa5536 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/holds.js +++ b/koha-tmpl/intranet-tmpl/prog/js/holds.js @@ -229,6 +229,7 @@ $(document).ready(function() { method: "PUT", url: api_url, data: JSON.stringify({ "pickup_library_id": $(this).val() }), + headers: { "x-koha-override": "any" }, success: function( data ){ holdsTable.api().ajax.reload(); }, error: function( jqXHR, textStatus, errorThrown) { alert('There was an error:'+textStatus+" "+errorThrown);