From 2d01ad1ffe4bf069f20d25381d553adb52a14357 Mon Sep 17 00:00:00 2001 From: Jason Etheridge Date: Wed, 9 Mar 2011 12:42:11 -0500 Subject: [PATCH] add affix/class args to find_or_create acn call in copy editor when changing the "owning lib". holding off on its use in the volume/copy creator at the moment. Other uses of this method are for fast add, and we can assume defaults there, so no changes needed --- Open-ILS/xul/staff_client/server/cat/copy_editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/xul/staff_client/server/cat/copy_editor.js b/Open-ILS/xul/staff_client/server/cat/copy_editor.js index bb8275c7fc..38fb418582 100644 --- a/Open-ILS/xul/staff_client/server/cat/copy_editor.js +++ b/Open-ILS/xul/staff_client/server/cat/copy_editor.js @@ -537,7 +537,7 @@ g.apply_owning_lib = function(ou_id) { var old_volume = g.map_acn[copy.call_number()]; var acn_blob = g.network.simple_request( 'FM_ACN_FIND_OR_CREATE', - [ses(),old_volume.label(),old_volume.record(),ou_id] + [ses(),old_volume.label(),old_volume.record(),ou_id,old_volume.prefix(),old_volume.suffix(),old_volume.label_class()] ); if (typeof acn_blob.ilsevent != 'undefined') { g.error.standard_unexpected_error_alert($('catStrings').getFormattedString('staff.cat.copy_editor.apply_owning_lib.call_number.error', [copy.barcode()]), acn_blob); -- 2.11.0