From: Jason Etheridge Date: Wed, 9 Mar 2011 17:42:11 +0000 (-0500) Subject: add affix/class args to find_or_create acn call in copy editor when changing the... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=2d01ad1ffe4bf069f20d25381d553adb52a14357;p=evergreen%2Fequinox.git 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 --- 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);